Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001017/0.001017, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009246/0.0009246, 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 0.9779/0.9779, 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.8567/0.8567, allocations: 154.9 MB / 414.8 MB, free: 392 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.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.81e-05, allocations: 4 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001377/0.001395, allocations: 0.5746 MB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.714e-05/0.001443, allocations: 0 / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.001461, allocations: 0 / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.001491, allocations: 0.75 kB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.692e-05/0.001518, allocations: 0.7656 kB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.457e-05/0.001552, allocations: 5.406 kB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.00161, allocations: 3.938 kB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.001649, allocations: 192 / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.001681, allocations: 3.984 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.287e-05/0.001704, allocations: 5.344 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.00172, allocations: 0 / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.001724, allocations: 0 / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.001737, allocations: 7.922 kB / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.001753, allocations: 5.688 kB / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.544e-05/0.001809, allocations: 0 / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.001811, allocations: 0 / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.001812, allocations: 0 / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.001816, allocations: 0 / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002468/0.002062, allocations: 338.7 kB / 0.5217 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.002099, allocations: 12.03 kB / 0.5217 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.00213, allocations: 0.9375 kB / 0.5217 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.428e-05/0.002194, allocations: 112.6 kB / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.002205, allocations: 384 / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.002212, allocations: 384 / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.287e-05/0.002284, allocations: 34.83 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.002291, allocations: 0.75 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.002299, allocations: 1.344 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.002307, allocations: 384 / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.002323, allocations: 11.88 kB / 0.5218 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.472e-05/0.002417, allocations: 105.2 kB / 0.5219 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.002456, allocations: 24.44 kB / 0.5219 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.002478, allocations: 15.77 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.002484, allocations: 0 / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.002505, allocations: 34.33 kB / 0.522 GB, free: 424 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.002505, allocations: 4 kB / 0.522 GB, free: 420 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.002611, allocations: 39.17 kB / 0.522 GB, free: 376 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.002637, allocations: 55.34 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.45e-05/0.002671, allocations: 142.2 kB / 0.5222 GB, free: 152 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.002678, allocations: 25.7 kB / 0.5222 GB, free: 120 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.002712, allocations: 127.9 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.002736, allocations: 0 / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.002757, allocations: 20.06 kB / 0.5224 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.002853, allocations: 0.4922 MB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.00286, allocations: 1.281 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.002865, allocations: 4 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.002888, allocations: 8.312 kB / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00289, allocations: 0 / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.061e-05/0.00292, allocations: 34.61 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.002931, allocations: 8 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.002935, allocations: 0.5 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.002965, allocations: 3.25 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.003017, allocations: 0 / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.003022, allocations: 0 / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.003033, allocations: 7.938 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.003038, allocations: 0 / 0.5229 GB, free: 15.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 (1): * Single equations (assignments): 1 * 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 6.159e-05/0.003099, allocations: 156.6 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.003104, allocations: 4 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.00312, allocations: 3 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.003122, allocations: 4 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.003126, allocations: 7.031 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.003128, allocations: 0 / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.003183, allocations: 108.9 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.003184, allocations: 0 / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.003191, allocations: 4 kB / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.003192, allocations: 0 / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.003197, allocations: 0 / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.003199, allocations: 3.984 kB / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0032, allocations: 1.5 kB / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.877e-05/0.003259, allocations: 72.33 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.003266, allocations: 7.953 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.003274, allocations: 0.5 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-06/0.003279, allocations: 0 / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.003292, allocations: 8.969 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.003294, allocations: 3.984 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.003329, allocations: 119.2 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003329, allocations: 0.5 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001394/0.003468, allocations: 2.594 kB / 0.5234 GB, free: 14.83 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 (1): * Single equations (assignments): 1 * 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.69e-05/0.003535, allocations: 99.19 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.003601, allocations: 11.62 kB / 0.5235 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.003603, allocations: 0 / 0.5235 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.003609, allocations: 14.12 kB / 0.5235 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.05e-05/0.003699, allocations: 0 / 0.5235 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.003915, allocations: 91.92 kB / 0.5236 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.853e-05/0.003943, allocations: 51.36 kB / 0.5237 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.003954, allocations: 4 kB / 0.5237 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.003972, allocations: 10.16 kB / 0.5237 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.003972, allocations: 0 / 0.5237 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.00151/0.005482, allocations: 196.5 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6870109140872955]