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.001669/0.001669, allocations: 82.64 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001941/0.001941, allocations: 167 kB / 22.44 MB, free: 5.336 MB / 14.72 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 1.399/1.399, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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 1.18/1.18, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.33 kB / 0.6192 GB, free: 4.066 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5629, allocations: 102 MB / 0.7188 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001629/0.5645, allocations: 0.6541 MB / 0.7194 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.5653, allocations: 0.8445 MB / 0.7203 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.5653, allocations: 4 kB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.5653, allocations: 3.938 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.5654, allocations: 5.703 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.5656, allocations: 10.34 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.5656, allocations: 24.19 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.5657, allocations: 7.312 kB / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.5658, allocations: 19.23 kB / 0.7203 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.5658, allocations: 5.844 kB / 0.7203 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.5658, allocations: 2.5 kB / 0.7203 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.5658, allocations: 11.03 kB / 0.7204 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.5659, allocations: 9.781 kB / 0.7204 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.5659, allocations: 3.75 kB / 0.7204 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.566, allocations: 32.42 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.566, allocations: 1.156 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.566, allocations: 0 / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.566, allocations: 0 / 0.7204 GB, free: 0.6406 MB / 0.6075 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.0003308/0.5663, allocations: 269 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5664, allocations: 10.84 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.5664, allocations: 3.797 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/0.5665, allocations: 113.6 kB / 0.7208 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.5665, allocations: 9.906 kB / 0.7208 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.5665, allocations: 5.719 kB / 0.7208 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5667, allocations: 49.06 kB / 0.7208 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5667, allocations: 1.625 kB / 0.7208 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5667, allocations: 3.938 kB / 0.7208 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.5667, allocations: 0 / 0.7208 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.5669, allocations: 33.89 kB / 0.7209 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.5671, allocations: 190 kB / 0.7211 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5673, allocations: 44.39 kB / 0.7211 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.5673, allocations: 23.91 kB / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5674, allocations: 3.938 kB / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5674, allocations: 32.69 kB / 0.7212 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5674, allocations: 0 / 0.7212 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003489/0.5678, allocations: 80.3 kB / 0.7212 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.5678, allocations: 59.95 kB / 0.7213 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.5679, allocations: 101.6 kB / 0.7214 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5679, allocations: 27.14 kB / 0.7214 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.5679, allocations: 80.89 kB / 0.7215 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.568, allocations: 9.484 kB / 0.7215 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.568, allocations: 16.88 kB / 0.7215 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5681, allocations: 313.4 kB / 0.7218 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.5682, allocations: 14.7 kB / 0.7218 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.5683, allocations: 23 kB / 0.7219 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5684, allocations: 36.27 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5684, allocations: 0 / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.5686, allocations: 75.66 kB / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5687, allocations: 4.938 kB / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5687, allocations: 1.5 kB / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5687, allocations: 4.094 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.5688, allocations: 12.73 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5688, allocations: 0.8438 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.5688, allocations: 10.52 kB / 0.722 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.5688, allocations: 1.375 kB / 0.722 GB, free: 15.14 MB / 0.6231 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 7.688e-05/0.5689, allocations: 113 kB / 0.7221 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.5689, allocations: 5.406 kB / 0.7221 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.5691, allocations: 75.67 kB / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5691, allocations: 0.8906 kB / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5691, allocations: 1.625 kB / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5691, allocations: 0 / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5693, allocations: 104.5 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5693, allocations: 3.938 kB / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.5693, allocations: 8.719 kB / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5693, allocations: 4.781 kB / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5693, allocations: 9.125 kB / 0.7223 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5693, allocations: 0 / 0.7223 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5693, allocations: 0 / 0.7223 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.5696, allocations: 164 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.5696, allocations: 10.41 kB / 0.7225 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.5696, allocations: 1.031 kB / 0.7225 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.5697, allocations: 6.766 kB / 0.7225 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.5697, allocations: 2.734 kB / 0.7225 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.5697, allocations: 4 kB / 0.7225 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.5698, allocations: 80.2 kB / 0.7226 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5698, allocations: 0 / 0.7226 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002114/0.57, allocations: 8.188 kB / 0.7226 GB, free: 14.61 MB / 0.6231 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 0.0001063/0.5701, allocations: 96.61 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5703, allocations: 35.52 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5703, allocations: 1.062 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.5704, allocations: 20.3 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5707, allocations: 10.86 kB / 0.7227 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.571, allocations: 114.1 kB / 0.7228 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.571, allocations: 59.08 kB / 0.7229 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.5711, allocations: 5.922 kB / 0.7229 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.5711, allocations: 9.812 kB / 0.7229 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.5711, allocations: 0 / 0.7229 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.002705/0.5738, allocations: 488.4 kB / 0.7234 GB, free: 14.22 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.073690569028258] Failed to read output from testmodel.py, exit status != 0: 0.582085506990552 0.596701068 0.02759148099999994 Calling exit ...