Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00071/0.00071, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007196/0.0007196, allocations: 181.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8267/0.8267, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6796/0.6796, allocations: 154.5 MB / 414.5 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.553e-05, allocations: 3.844 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001179/0.001204, allocations: 0.6583 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.001974, allocations: 0.8393 MB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.002007, allocations: 0 / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.002039, allocations: 3.938 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.002099, allocations: 7.938 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.002281, allocations: 7.984 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.002343, allocations: 27.92 kB / 0.6208 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.002431, allocations: 11.92 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.002494, allocations: 15.98 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.002524, allocations: 7.938 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.002539, allocations: 4 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.002581, allocations: 4 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002595, allocations: 7.984 kB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.002611, allocations: 4 kB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.505e-05/0.002706, allocations: 27.89 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002708, allocations: 3.938 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.244e-06/0.002711, allocations: 7.984 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.002715, allocations: 4 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003259/0.003041, allocations: 250.4 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.003078, allocations: 17.45 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.003157, allocations: 4.891 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/0.003238, allocations: 109.7 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.00325, allocations: 4.312 kB / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.003257, allocations: 384 / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.003387, allocations: 50.23 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.003395, allocations: 4.125 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003403, allocations: 4.375 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003407, allocations: 384 / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.003492, allocations: 39.89 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.003727, allocations: 188.6 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.003801, allocations: 34.56 kB / 0.6216 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.003845, allocations: 28.89 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.003862, allocations: 0 / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003881, allocations: 38.5 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.003881, allocations: 0 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.004089, allocations: 85.58 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.004123, allocations: 51.41 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.004179, allocations: 93.86 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004189, allocations: 29.7 kB / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.004222, allocations: 88.09 kB / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.00424, allocations: 12.06 kB / 0.622 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.004264, allocations: 13.72 kB / 0.622 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.004334, allocations: 314.8 kB / 0.6223 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.004375, allocations: 11.98 kB / 0.6223 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.004412, allocations: 27.91 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.004485, allocations: 32.83 kB / 0.6224 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.004488, allocations: 4 kB / 0.6224 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.528e-05/0.004584, allocations: 65.91 kB / 0.6225 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004595, allocations: 8 kB / 0.6225 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.0046, allocations: 3.938 kB / 0.6225 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004613, allocations: 7.922 kB / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.004674, allocations: 4 kB / 0.6225 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.004679, allocations: 3.984 kB / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.004701, allocations: 8 kB / 0.6225 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004706, allocations: 4.031 kB / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.004756, allocations: 118.8 kB / 0.6226 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.004767, allocations: 0 / 0.6226 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.004895, allocations: 76.89 kB / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.004897, allocations: 0 / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.0049, allocations: 0 / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004902, allocations: 0 / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.00518, allocations: 101.3 kB / 0.6228 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.005182, allocations: 4.016 kB / 0.6228 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.005209, allocations: 12 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005211, allocations: 3.938 kB / 0.6228 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.005216, allocations: 0 / 0.6228 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.005218, allocations: 3.938 kB / 0.6228 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005219, allocations: 0 / 0.6228 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.00534, allocations: 163.4 kB / 0.623 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-06/0.005347, allocations: 8 kB / 0.623 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.005358, allocations: 3.984 kB / 0.623 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.602e-05/0.005394, allocations: 11.97 kB / 0.623 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.005426, allocations: 3.984 kB / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.005428, allocations: 0 / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.005452, allocations: 79.28 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005452, allocations: 0 / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001349/0.005587, allocations: 8 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.712e-05/0.005664, allocations: 91.25 kB / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.005783, allocations: 43.95 kB / 0.6232 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005784, allocations: 0 / 0.6232 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.005821, allocations: 19.92 kB / 0.6232 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.006026, allocations: 6.5 kB / 0.6232 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.006268, allocations: 130.6 kB / 0.6234 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.00631, allocations: 63.34 kB / 0.6234 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.006334, allocations: 12.56 kB / 0.6234 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of SimCode: time 6.42e-07/0.006334, allocations: 4 kB / 0.6234 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of Templates: time 0.001319/0.007653, allocations: 0.5626 MB / 0.624 GB, free: 8.043 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.942581445910037] Failed to read output from testmodel.py, exit status != 0: 0.011980162933468819 0.019487025 0.015100399 Calling exit ...