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.0006857/0.0006857, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0006727/0.0006727, allocations: 212.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8415/0.8415, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.7002/0.7002, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: 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.0008537/0.0008537, allocations: 70.73 kB / 0.7194 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4022, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001144/0.4034, allocations: 0.6527 MB / 0.8197 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.4039, allocations: 0.8488 MB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.4039, allocations: 0 / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.4039, allocations: 3.938 kB / 0.8205 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.404, allocations: 5.906 kB / 0.8205 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.4041, allocations: 15.56 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.4042, allocations: 23.36 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.4043, allocations: 6.656 kB / 0.8206 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.4043, allocations: 10.39 kB / 0.8206 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.4044, allocations: 8.812 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4044, allocations: 2.281 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.4044, allocations: 11.98 kB / 0.8206 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.4044, allocations: 6.203 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.4044, allocations: 7.703 kB / 0.8206 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.734e-05/0.4045, allocations: 31.59 kB / 0.8207 GB, free: 228 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4045, allocations: 4 kB / 0.8207 GB, free: 224 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4045, allocations: 0.5156 kB / 0.8207 GB, free: 224 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4045, allocations: 0 / 0.8207 GB, free: 224 kB / 0.6042 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.0002919/0.4048, allocations: 264 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.4049, allocations: 10.25 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.4049, allocations: 2.859 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.405, allocations: 113.7 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.405, allocations: 3.406 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.405, allocations: 1.031 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.4051, allocations: 53.64 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.4051, allocations: 192 / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4051, allocations: 4.453 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4052, allocations: 0 / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.4052, allocations: 35.2 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4055, allocations: 189.1 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.4055, allocations: 43.91 kB / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.4056, allocations: 23.86 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4056, allocations: 7.938 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4056, allocations: 33.56 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.4056, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.4058, allocations: 74.64 kB / 0.8215 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.4058, allocations: 56.69 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.344e-05/0.4059, allocations: 101.8 kB / 0.8216 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.4059, allocations: 29.83 kB / 0.8217 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.4059, allocations: 88.08 kB / 0.8217 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.406, allocations: 8.641 kB / 0.8218 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.406, allocations: 13.92 kB / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.406, allocations: 311.9 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.4061, allocations: 17.73 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.4061, allocations: 14.58 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.903e-05/0.4062, allocations: 45.31 kB / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4062, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.318e-05/0.4063, allocations: 74.73 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.4063, allocations: 9.406 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4063, allocations: 8.594 kB / 0.8222 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.4063, allocations: 1.531 kB / 0.8222 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.4064, allocations: 8.031 kB / 0.8222 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4064, allocations: 4.641 kB / 0.8222 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.4064, allocations: 7.031 kB / 0.8222 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.4064, allocations: 0 / 0.8222 GB, free: 14.73 MB / 0.6198 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 4.217e-05/0.4064, allocations: 110 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.4064, allocations: 4.594 kB / 0.8224 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.4066, allocations: 75.66 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4066, allocations: 0 / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4066, allocations: 3 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4066, allocations: 4.594 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.325e-05/0.4066, allocations: 105.8 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.4066, allocations: 2.219 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.4067, allocations: 9.672 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4067, allocations: 7.438 kB / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.4067, allocations: 0 / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.4067, allocations: 0 / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.4067, allocations: 0 / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.4068, allocations: 164.2 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.4068, allocations: 12.53 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.4068, allocations: 2.312 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.4068, allocations: 5.438 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.4069, allocations: 3.703 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.4069, allocations: 0 / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.4069, allocations: 79.91 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4069, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001331/0.407, allocations: 8.625 kB / 0.8228 GB, free: 14.2 MB / 0.6198 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 6.135e-05/0.4071, allocations: 100.2 kB / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.4072, allocations: 36.67 kB / 0.8229 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.4072, allocations: 0 / 0.8229 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.4072, allocations: 14.83 kB / 0.823 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.4074, allocations: 9.922 kB / 0.823 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.4076, allocations: 131.4 kB / 0.8231 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.4077, allocations: 65 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.4077, allocations: 13.92 kB / 0.8232 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.4077, allocations: 0 / 0.8232 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.001192/0.4089, allocations: 0.5558 MB / 0.8237 GB, free: 13.83 MB / 0.6198 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.920419525355101] Failed to read output from testmodel.py, exit status != 0: 0.41367007000371814 0.42223823499999996 0.015956047 Calling exit ...