Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.00182/0.00182, allocations: 84.73 kB / 19.44 MB, free: 360 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.00227/0.00227, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.252/1.252, allocations: 154.8 MB / 414.3 MB, free: 480 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 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.832e-05, allocations: 3.578 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002029/0.002067, allocations: 0.6911 MB / 0.5206 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003375, allocations: 0.889 MB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.003414, allocations: 0 / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.003449, allocations: 3.938 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.003534, allocations: 4.156 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.003707, allocations: 25.62 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003813, allocations: 47.84 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.003912, allocations: 4 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.004014, allocations: 27.91 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.004064, allocations: 15.98 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004086, allocations: 5.469 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.004097, allocations: 4 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.004115, allocations: 4 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.004156, allocations: 19.91 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.00426, allocations: 40.62 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004262, allocations: 0 / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004263, allocations: 1.469 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004268, allocations: 0 / 0.5217 GB, free: 476 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.0006009/0.004868, allocations: 283.6 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004906, allocations: 8.031 kB / 0.5219 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.004957, allocations: 12.89 kB / 0.5219 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.005092, allocations: 114.3 kB / 0.522 GB, free: 0 / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.005105, allocations: 384 / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.005119, allocations: 7.812 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.005401, allocations: 74.14 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.005409, allocations: 192 / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.005419, allocations: 384 / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.005426, allocations: 4.375 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.005719, allocations: 60.38 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.006108, allocations: 221 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.006337, allocations: 51.98 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.006507, allocations: 42.38 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.00653, allocations: 0 / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.006565, allocations: 30.56 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.006566, allocations: 0.9375 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0006139/0.00718, allocations: 140.2 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.007238, allocations: 51.41 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.007385, allocations: 109.8 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.007413, allocations: 30.52 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.007486, allocations: 84.09 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.007518, allocations: 9.234 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.007562, allocations: 13.72 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.007764, allocations: 326.8 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.00792, allocations: 29.31 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.008067, allocations: 38.66 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.008372, allocations: 64.8 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008374, allocations: 0 / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003504/0.008725, allocations: 104.3 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.008747, allocations: 11.94 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008752, allocations: 0 / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.008773, allocations: 0 / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.008912, allocations: 12.92 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.00892, allocations: 4 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-05/0.009007, allocations: 16.81 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.009019, allocations: 4 kB / 0.5235 GB, free: 14.39 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 0.0001042/0.009123, allocations: 114.8 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.009158, allocations: 4 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.009204, allocations: 8.438 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.009206, allocations: 0.7188 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.00921, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.009218, allocations: 12.53 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.009394, allocations: 109.3 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.009395, allocations: 1.406 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.009503, allocations: 15.98 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.009508, allocations: 7.922 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.009516, allocations: 2.438 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.009521, allocations: 3.938 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.009525, allocations: 4 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.009956, allocations: 190.3 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.009972, allocations: 8 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.009987, allocations: 0 / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.01012, allocations: 19.91 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.01017, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.01017, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.01024, allocations: 91.27 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01024, allocations: 0.7188 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002289/0.01047, allocations: 8 kB / 0.5241 GB, free: 13.75 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 0.0001577/0.01063, allocations: 92.5 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.01099, allocations: 70.7 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.011, allocations: 0 / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.01117, allocations: 43.95 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.01153, allocations: 8.922 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.01192, allocations: 128.5 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.012, allocations: 68.56 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.01204, allocations: 5.359 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.01209, allocations: 12.5 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.01209, allocations: 0 / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.003599/0.01569, allocations: 0.7967 MB / 0.5253 GB, free: 12.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8159300569677725]