Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001004/0.001004, allocations: 92.22 kB / 19.65 MB, free: 276 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.001552/0.001552, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.637 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-535:34: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-535:42: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.7849/0.7849, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.858e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001149/0.001168, allocations: 0.6968 MB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007373/0.001905, allocations: 0.8513 MB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.001937, allocations: 0 / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.001967, allocations: 8.625 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.002029, allocations: 9.766 kB / 0.5222 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.928e-05/0.002128, allocations: 11.98 kB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.002198, allocations: 43.86 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.002286, allocations: 11.98 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.002358, allocations: 25.83 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.002398, allocations: 15.97 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.002416, allocations: 4 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.002426, allocations: 4 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.002443, allocations: 11.92 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.002464, allocations: 8 kB / 0.5223 GB, free: 228 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.361e-05/0.002538, allocations: 29.31 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002539, allocations: 4 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00254, allocations: 0 / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.002544, allocations: 0 / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003657/0.002909, allocations: 373.5 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.002945, allocations: 13 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.002981, allocations: 8.891 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.69e-05/0.003068, allocations: 124.5 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.003081, allocations: 5.375 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.003095, allocations: 4.375 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.003235, allocations: 63.91 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.003246, allocations: 192 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.003255, allocations: 4.375 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.003264, allocations: 0.875 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.003295, allocations: 8.969 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.003598, allocations: 263.8 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.003663, allocations: 36.22 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.003688, allocations: 15.69 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.003708, allocations: 0 / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003727, allocations: 39.17 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.003727, allocations: 0 / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001455/0.003873, allocations: 53.66 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.003898, allocations: 51.41 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.003969, allocations: 165.9 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.00398, allocations: 27.52 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.004027, allocations: 142.8 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.004042, allocations: 3.953 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.004068, allocations: 19.38 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.004172, allocations: 496.1 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.004191, allocations: 9.578 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.004204, allocations: 4 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.004234, allocations: 15.69 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004236, allocations: 0 / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.926e-05/0.004296, allocations: 58.33 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.004306, allocations: 7.938 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004311, allocations: 1.469 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.004325, allocations: 3.938 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.004397, allocations: 11.98 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.004402, allocations: 5.031 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.004424, allocations: 4 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.00443, allocations: 0 / 0.5243 GB, free: 14 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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.655e-05/0.004487, allocations: 153.5 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.004501, allocations: 4 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.023e-05/0.004591, allocations: 64.94 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.004593, allocations: 4.047 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.004597, allocations: 3.984 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.0046, allocations: 0 / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.00469, allocations: 116.6 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004691, allocations: 4 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.00472, allocations: 7.984 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004721, allocations: 6.75 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.004727, allocations: 0 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.004728, allocations: 3.938 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004729, allocations: 0 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.323e-05/0.004822, allocations: 191.9 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.004829, allocations: 7.938 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.004838, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.004876, allocations: 11.92 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.00491, allocations: 5.312 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.004914, allocations: 11.92 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.004946, allocations: 123.2 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004946, allocations: 0.5 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001398/0.005086, allocations: 12 kB / 0.525 GB, free: 13.21 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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.175e-05/0.005148, allocations: 92.81 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.78e-05/0.005226, allocations: 19.67 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005227, allocations: 1.281 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.005249, allocations: 11.69 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.00543, allocations: 17.19 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.005683, allocations: 134.9 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.527e-05/0.005718, allocations: 59.84 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.598e-05/0.005734, allocations: 1.875 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.005763, allocations: 16.44 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 3.4e-07/0.005763, allocations: 0 / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.002043/0.007806, allocations: 0.7387 MB / 0.526 GB, free: 12.1 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.077583863865584]