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.0007553/0.0007553, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007697/0.0007697, allocations: 207.8 kB / 23 MB, free: 3.121 MB / 13.93 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.8905/0.8905, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.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-531:190: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-531:198: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.7385/0.7385, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4424, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001311/0.4437, allocations: 0.5615 MB / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.958e-05/0.4438, allocations: 9.703 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.4438, allocations: 0 / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.4438, allocations: 4.594 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.4438, allocations: 5.219 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.03e-05/0.4439, allocations: 1.094 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.4439, allocations: 1.906 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.444, allocations: 3.016 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.444, allocations: 1.094 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.444, allocations: 0 / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.444, allocations: 1.188 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.444, allocations: 0 / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.444, allocations: 1.969 kB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.4441, allocations: 4.438 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.696e-05/0.4441, allocations: 5.422 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4441, allocations: 1.75 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4441, allocations: 0 / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4441, allocations: 0.7812 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB 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.000179/0.4443, allocations: 243.2 kB / 0.8199 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4443, allocations: 10.84 kB / 0.8199 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.4444, allocations: 1.688 kB / 0.82 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.46e-05/0.4444, allocations: 104.9 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.4444, allocations: 5.891 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.4444, allocations: 1.469 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.4445, allocations: 37.52 kB / 0.8201 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.4445, allocations: 192 / 0.8201 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.4445, allocations: 4.844 kB / 0.8201 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4445, allocations: 1.25 kB / 0.8201 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.424e-05/0.4445, allocations: 2.188 kB / 0.8201 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.406e-05/0.4446, allocations: 116.2 kB / 0.8202 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.152e-05/0.4446, allocations: 18.17 kB / 0.8202 GB, free: 24.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.4447, allocations: 12.17 kB / 0.8202 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.4447, allocations: 1.531 kB / 0.8202 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.4447, allocations: 35.97 kB / 0.8203 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.4447, allocations: 0 / 0.8203 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 9.846e-05/0.4448, allocations: 36.55 kB / 0.8203 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.4448, allocations: 56.77 kB / 0.8204 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.036e-05/0.4448, allocations: 89.86 kB / 0.8205 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.4448, allocations: 25.7 kB / 0.8205 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-06/0.4448, allocations: 80.14 kB / 0.8206 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.4448, allocations: 9.75 kB / 0.8206 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.4449, allocations: 12.03 kB / 0.8206 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.58e-05/0.4449, allocations: 315.6 kB / 0.8209 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-06/0.4449, allocations: 4.688 kB / 0.8209 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.4449, allocations: 1.188 kB / 0.8209 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.4449, allocations: 12.16 kB / 0.8209 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4449, allocations: 3.938 kB / 0.8209 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.923e-05/0.445, allocations: 35.91 kB / 0.8209 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.445, allocations: 6.766 kB / 0.8209 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.445, allocations: 3.531 kB / 0.8209 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.445, allocations: 3.938 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.445, allocations: 2.094 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.445, allocations: 0.7812 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-06/0.4451, allocations: 0.7812 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.4451, allocations: 0 / 0.8209 GB, free: 23.5 MB / 0.6355 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 3.036e-05/0.4451, allocations: 108.7 kB / 0.8211 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-06/0.4451, allocations: 1.297 kB / 0.8211 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.4451, allocations: 15.77 kB / 0.8211 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.4451, allocations: 0 / 0.8211 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4451, allocations: 0.9688 kB / 0.8211 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4451, allocations: 4.594 kB / 0.8211 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.412e-05/0.4451, allocations: 119.9 kB / 0.8212 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4451, allocations: 0.7031 kB / 0.8212 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-06/0.4451, allocations: 1.375 kB / 0.8212 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.4451, allocations: 0.8438 kB / 0.8212 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4452, allocations: 12.86 kB / 0.8212 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-07/0.4452, allocations: 0.75 kB / 0.8212 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4452, allocations: 4.922 kB / 0.8212 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.866e-05/0.4452, allocations: 52.41 kB / 0.8213 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-06/0.4452, allocations: 1.688 kB / 0.8213 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.4452, allocations: 9.203 kB / 0.8213 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-06/0.4452, allocations: 0.5312 kB / 0.8213 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.4452, allocations: 5.141 kB / 0.8213 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-07/0.4452, allocations: 0.7188 kB / 0.8213 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.275e-06/0.4452, allocations: 76.56 kB / 0.8213 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4452, allocations: 0 / 0.8213 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001084/0.4453, allocations: 1.469 kB / 0.8213 GB, free: 23.05 MB / 0.6355 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 7.111e-05/0.4454, allocations: 97.55 kB / 0.8214 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.4455, allocations: 4.297 kB / 0.8214 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4455, allocations: 3.938 kB / 0.8214 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/0.4455, allocations: 5.906 kB / 0.8215 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.676e-05/0.4456, allocations: 2.625 kB / 0.8215 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.4458, allocations: 110.4 kB / 0.8216 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.4458, allocations: 0.6708 MB / 0.8222 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.4459, allocations: 8.719 kB / 0.8222 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4459, allocations: 0 / 0.8222 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.001159/0.447, allocations: 335.6 kB / 0.8225 GB, free: 22.11 MB / 0.6355 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.269941617967561] Failed to read output from testmodel.py, exit status != 0: 0.4532289281487465 0.46056039099999996 0.014795284 Calling exit ...