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.0008108/0.0008108, 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.001043/0.001043, allocations: 169 kB / 23.02 MB, free: 1.547 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.9571/0.9571, 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.8016/0.8016, allocations: 154.8 MB / 414.7 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 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.433e-06/1.433e-06, allocations: 0 / 0.5206 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.974e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00128/0.0013, allocations: 0.571 MB / 0.5212 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.18e-05/0.001341, allocations: 4 kB / 0.5212 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.001356, allocations: 4 kB / 0.5212 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.001382, allocations: 0 / 0.5212 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.296e-05/0.001404, allocations: 6.984 kB / 0.5212 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.824e-05/0.001433, allocations: 0 / 0.5212 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.001479, allocations: 0 / 0.5212 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.001519, allocations: 4.125 kB / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.001549, allocations: 4 kB / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.001566, allocations: 0 / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.001578, allocations: 0.5625 kB / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.001582, allocations: 0 / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.001594, allocations: 4.547 kB / 0.5212 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.00161, allocations: 0.9062 kB / 0.5212 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.326e-05/0.001664, allocations: 3.984 kB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.001665, allocations: 0 / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.001667, allocations: 4.531 kB / 0.5212 GB, free: 1.332 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.00167, allocations: 1.438 kB / 0.5212 GB, free: 1.332 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.0002397/0.00191, allocations: 340.4 kB / 0.5215 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.001945, allocations: 8.031 kB / 0.5215 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.00197, allocations: 0.9375 kB / 0.5215 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.661e-05/0.002026, allocations: 105.6 kB / 0.5216 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.002037, allocations: 4.375 kB / 0.5216 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.002047, allocations: 5.891 kB / 0.5216 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.525e-05/0.002112, allocations: 26.27 kB / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.002121, allocations: 4.125 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.002128, allocations: 384 / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.002135, allocations: 1.406 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.249e-05/0.002147, allocations: 7.938 kB / 0.5217 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.23e-05/0.002239, allocations: 108.6 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.447e-05/0.002274, allocations: 27.78 kB / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.002293, allocations: 8.969 kB / 0.5218 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.002299, allocations: 0 / 0.5218 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.002319, allocations: 37.45 kB / 0.5219 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.002319, allocations: 0.625 kB / 0.5219 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.949e-05/0.002419, allocations: 42.59 kB / 0.5219 GB, free: 500 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.002445, allocations: 51.41 kB / 0.5219 GB, free: 436 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.002484, allocations: 146.7 kB / 0.5221 GB, free: 276 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.002493, allocations: 25.7 kB / 0.5221 GB, free: 244 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.002524, allocations: 127.6 kB / 0.5222 GB, free: 112 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.002549, allocations: 4 kB / 0.5222 GB, free: 108 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.002573, allocations: 17.41 kB / 0.5223 GB, free: 84 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.002703, allocations: 496.1 kB / 0.5227 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.002712, allocations: 0 / 0.5227 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.002717, allocations: 4 kB / 0.5227 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.002745, allocations: 16.84 kB / 0.5227 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.002747, allocations: 0 / 0.5227 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.245e-05/0.002789, allocations: 37.69 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.002801, allocations: 7.031 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.002805, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.002818, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.002863, allocations: 4 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.002869, allocations: 4 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.002879, allocations: 3.938 kB / 0.5228 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.002882, allocations: 0 / 0.5228 GB, free: 15.5 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 5.952e-05/0.002942, allocations: 154.1 kB / 0.5229 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.002947, allocations: 4.344 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.002967, allocations: 10.98 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.002969, allocations: 0 / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.002971, allocations: 0.5 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.002973, allocations: 0 / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.003258, allocations: 109.6 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.003258, allocations: 3.938 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-06/0.003266, allocations: 5 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.003267, allocations: 0 / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.003273, allocations: 3.984 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.003274, allocations: 0.625 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.003274, allocations: 0 / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.003327, allocations: 76.83 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.003331, allocations: 2.531 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.003339, allocations: 0 / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.003345, allocations: 4 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.003356, allocations: 0 / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.003357, allocations: 3.938 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.003385, allocations: 123.2 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003385, allocations: 2.438 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001653/0.003551, allocations: 0 / 0.5233 GB, free: 14.95 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.775e-05/0.003618, allocations: 107.1 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.003675, allocations: 11.69 kB / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.003676, allocations: 1.719 kB / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.003684, allocations: 7.688 kB / 0.5234 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.003799, allocations: 1.375 kB / 0.5234 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.003988, allocations: 91.89 kB / 0.5235 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.004017, allocations: 60.38 kB / 0.5236 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.037e-06/0.004026, allocations: 0 / 0.5236 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.004043, allocations: 9.438 kB / 0.5236 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.004043, allocations: 0 / 0.5236 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.001459/0.005502, allocations: 196.5 kB / 0.5238 GB, free: 14.42 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.9836691338568926]