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.001417/0.001417, allocations: 88.72 kB / 19.44 MB, free: 356 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.001652/0.001652, 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.725/1.725, 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.222/1.222, allocations: 154.8 MB / 414.4 MB, free: 464 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.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 4.178e-06/4.178e-06, allocations: 0 / 0.5199 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.944e-05, allocations: 4.562 kB / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002588/0.002628, allocations: 0.57 MB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.992e-05/0.002688, allocations: 0 / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.002711, allocations: 0 / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.002753, allocations: 4.906 kB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.002799, allocations: 1.094 kB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.462e-05/0.002844, allocations: 4 kB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.00292, allocations: 4.953 kB / 0.5205 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.002974, allocations: 0 / 0.5205 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.003024, allocations: 1.656 kB / 0.5205 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.003055, allocations: 4 kB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.003071, allocations: 0 / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-06/0.003075, allocations: 0.9688 kB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.003092, allocations: 1.094 kB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.00312, allocations: 4 kB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.328e-05/0.003183, allocations: 0.9062 kB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.003186, allocations: 0 / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003187, allocations: 0.8438 kB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.003193, allocations: 0 / 0.5205 GB, free: 1.668 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.0003803/0.003573, allocations: 235 kB / 0.5207 GB, free: 1.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.003623, allocations: 12.25 kB / 0.5207 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.00368, allocations: 1.812 kB / 0.5207 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.003803, allocations: 105.7 kB / 0.5208 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.003817, allocations: 1.594 kB / 0.5208 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.003829, allocations: 4.375 kB / 0.5208 GB, free: 1.262 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.003946, allocations: 34.2 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.003957, allocations: 0.6875 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.003966, allocations: 2.156 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.00397, allocations: 384 / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.706e-05/0.003997, allocations: 7.938 kB / 0.5209 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.004175, allocations: 101.3 kB / 0.521 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.004238, allocations: 18.67 kB / 0.521 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.004269, allocations: 6.578 kB / 0.521 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.004283, allocations: 0 / 0.521 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.004338, allocations: 42.5 kB / 0.521 GB, free: 1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.004339, allocations: 0 / 0.521 GB, free: 1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.004514, allocations: 31.23 kB / 0.5211 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.004581, allocations: 51.41 kB / 0.5211 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.004654, allocations: 89.86 kB / 0.5212 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.004681, allocations: 26.45 kB / 0.5212 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.004733, allocations: 80.14 kB / 0.5213 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.004777, allocations: 9.453 kB / 0.5213 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.004822, allocations: 13.72 kB / 0.5213 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.005039, allocations: 314.8 kB / 0.5216 GB, free: 356 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.005054, allocations: 4 kB / 0.5216 GB, free: 352 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.005059, allocations: 1.344 kB / 0.5216 GB, free: 352 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.005101, allocations: 12.8 kB / 0.5216 GB, free: 336 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005103, allocations: 0.75 kB / 0.5216 GB, free: 336 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.896e-05/0.005182, allocations: 33.7 kB / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.0052, allocations: 7.156 kB / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.005206, allocations: 0 / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.005228, allocations: 0 / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.005293, allocations: 7.984 kB / 0.5217 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005299, allocations: 0 / 0.5217 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.005316, allocations: 3.938 kB / 0.5217 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.00532, allocations: 0 / 0.5217 GB, free: 280 kB / 490.7 MB 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 0.0001135/0.005434, allocations: 109.8 kB / 0.5218 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.00545, allocations: 0.5625 kB / 0.5218 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.005469, allocations: 7.469 kB / 0.5218 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.005473, allocations: 7.922 kB / 0.5218 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.005478, allocations: 0.6875 kB / 0.5218 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.00548, allocations: 0.7188 kB / 0.5218 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.005603, allocations: 109.2 kB / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005604, allocations: 0.8438 kB / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.005616, allocations: 0 / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005617, allocations: 0 / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005623, allocations: 1.125 kB / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.005628, allocations: 4 kB / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005629, allocations: 0 / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.005756, allocations: 59.95 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.005765, allocations: 4 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.00578, allocations: 3.984 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.005791, allocations: 0 / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.005805, allocations: 0 / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.005806, allocations: 0 / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.005858, allocations: 75.28 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.005858, allocations: 6.688 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003061/0.006164, allocations: 4 kB / 0.5221 GB, free: 15.84 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 0.0001686/0.006333, allocations: 95.19 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.062e-05/0.006414, allocations: 8 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.006416, allocations: 0 / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.006426, allocations: 4.781 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.006633, allocations: 5.719 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.006956, allocations: 83.34 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.007034, allocations: 55.36 kB / 0.5223 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.007046, allocations: 0.8125 kB / 0.5223 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.007081, allocations: 8.5 kB / 0.5223 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.007081, allocations: 1.562 kB / 0.5223 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.003232/0.01031, allocations: 203.2 kB / 0.5225 GB, free: 15.34 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.979913254966959]