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.001725/0.001725, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.00217/0.00217, allocations: 164.7 kB / 22.46 MB, free: 5.355 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.255/1.255, allocations: 154.6 MB / 413.7 MB, free: 5.305 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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.138e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001677/0.001709, allocations: 0.6575 MB / 0.6192 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002857, allocations: 0.8431 MB / 0.62 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.002893, allocations: 0 / 0.62 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.002919, allocations: 5.406 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.002979, allocations: 3.984 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.003165, allocations: 15.92 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.003245, allocations: 27.92 kB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.003326, allocations: 0.6875 kB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.0034, allocations: 15.92 kB / 0.6201 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.003442, allocations: 14.45 kB / 0.6201 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.003459, allocations: 4 kB / 0.6201 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.003502, allocations: 4 kB / 0.6201 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.003517, allocations: 3.984 kB / 0.6201 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.003534, allocations: 4 kB / 0.6201 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003642, allocations: 35.83 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003645, allocations: 4 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003645, allocations: 0 / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003649, allocations: 0 / 0.6202 GB, free: 2.895 MB / 0.5294 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.0004451/0.004094, allocations: 266.3 kB / 0.6204 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004132, allocations: 9.469 kB / 0.6204 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.004212, allocations: 8.891 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.00433, allocations: 105.7 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.004343, allocations: 4.375 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.004352, allocations: 384 / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.004531, allocations: 58.17 kB / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004539, allocations: 192 / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.004547, allocations: 384 / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.004551, allocations: 384 / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.00472, allocations: 39.89 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.005006, allocations: 188.6 kB / 0.6208 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.005139, allocations: 42.53 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.005235, allocations: 24.84 kB / 0.6209 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.005254, allocations: 0 / 0.6209 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.005281, allocations: 34.56 kB / 0.6209 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.005282, allocations: 0 / 0.6209 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.005633, allocations: 85.58 kB / 0.621 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.005675, allocations: 51.41 kB / 0.6211 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.005764, allocations: 101.8 kB / 0.6212 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.005779, allocations: 25.83 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.005829, allocations: 92.12 kB / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.005847, allocations: 11.94 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.005885, allocations: 17.59 kB / 0.6213 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.006026, allocations: 314.8 kB / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.00611, allocations: 15.98 kB / 0.6216 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.006187, allocations: 15.97 kB / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.006359, allocations: 40.89 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006361, allocations: 0 / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.006565, allocations: 69.61 kB / 0.6217 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.006577, allocations: 4 kB / 0.6217 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006583, allocations: 3.938 kB / 0.6217 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006595, allocations: 0 / 0.6217 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.006679, allocations: 15.98 kB / 0.6218 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.006685, allocations: 7.922 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.006735, allocations: 8.031 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.006739, allocations: 0 / 0.6218 GB, free: 1.09 MB / 0.5294 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 8.082e-05/0.00682, allocations: 114.8 kB / 0.6219 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.006843, allocations: 0 / 0.6219 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.007091, allocations: 80.86 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007092, allocations: 0 / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.007095, allocations: 0 / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.007098, allocations: 0 / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.007233, allocations: 109.3 kB / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007234, allocations: 0 / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.007293, allocations: 8 kB / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007295, allocations: 0 / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.007304, allocations: 3.984 kB / 0.6221 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.007308, allocations: 7.938 kB / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007309, allocations: 0 / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.007571, allocations: 159.5 kB / 0.6222 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.00758, allocations: 11.98 kB / 0.6222 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.007591, allocations: 0 / 0.6222 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.007669, allocations: 7.938 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.007706, allocations: 7.984 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.00771, allocations: 3.938 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.007754, allocations: 79.28 kB / 0.6223 GB, free: 452 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.007754, allocations: 0 / 0.6223 GB, free: 452 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002114/0.007965, allocations: 4 kB / 0.6223 GB, free: 448 kB / 0.5294 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.0001262/0.008091, allocations: 102.8 kB / 0.6224 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.008302, allocations: 43.89 kB / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.008306, allocations: 4 kB / 0.6225 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.008391, allocations: 15.98 kB / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.008664, allocations: 6.5 kB / 0.6225 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.008944, allocations: 108.8 kB / 0.6226 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.009001, allocations: 63.47 kB / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.009021, allocations: 4 kB / 0.6227 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.009046, allocations: 8.5 kB / 0.6227 GB, free: 36 kB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.009046, allocations: 0 / 0.6227 GB, free: 36 kB / 0.5294 GB Notification: Performance of Templates: time 0.002642/0.01169, allocations: 473.2 kB / 0.6231 GB, free: 15.58 MB / 0.545 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: 5.794369108974934] Failed to read output from testmodel.py, exit status != 0: 0.020221002399921417 0.034471927 0.027787239000000002 Calling exit ...