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.001519/0.001519, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001732/0.001732, allocations: 173 kB / 23.49 MB, free: 1.055 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.9906/0.9906, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.7826/0.7826, allocations: 154.8 MB / 415.1 MB, free: 500 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 2.635e-06/2.635e-06, allocations: 0 / 0.5206 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.59e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001277/0.001303, allocations: 0.5735 MB / 0.5212 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.084e-05/0.001354, allocations: 3.984 kB / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.001376, allocations: 0 / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.001405, allocations: 0 / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.001442, allocations: 0.7188 kB / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.57e-05/0.001477, allocations: 4 kB / 0.5212 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.001541, allocations: 9.656 kB / 0.5212 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.001584, allocations: 192 / 0.5212 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.00162, allocations: 5.594 kB / 0.5212 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.001643, allocations: 4 kB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.001659, allocations: 0 / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.001664, allocations: 0 / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.001678, allocations: 0 / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.001698, allocations: 0.6562 kB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.43e-05/0.001763, allocations: 1.094 kB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.001765, allocations: 0 / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.001765, allocations: 0 / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00177, allocations: 0 / 0.5212 GB, free: 1.66 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.0002513/0.002021, allocations: 345.8 kB / 0.5215 GB, free: 1.285 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.002063, allocations: 15.97 kB / 0.5215 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.0021, allocations: 0.9375 kB / 0.5215 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.662e-05/0.002166, allocations: 105.4 kB / 0.5217 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.002179, allocations: 384 / 0.5217 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.002188, allocations: 5.719 kB / 0.5217 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.002271, allocations: 26.27 kB / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.002278, allocations: 192 / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.002286, allocations: 2.938 kB / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.002294, allocations: 384 / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.002308, allocations: 7.938 kB / 0.5217 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.677e-05/0.002405, allocations: 108.6 kB / 0.5218 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.858e-05/0.002444, allocations: 31.09 kB / 0.5218 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.002466, allocations: 11.69 kB / 0.5218 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.002473, allocations: 0.5 kB / 0.5218 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.002493, allocations: 37.39 kB / 0.5219 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.002493, allocations: 1.406 kB / 0.5219 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000109/0.002602, allocations: 29.7 kB / 0.5219 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.002633, allocations: 56.31 kB / 0.522 GB, free: 0.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.77e-05/0.002671, allocations: 142.2 kB / 0.5221 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.002679, allocations: 25.7 kB / 0.5221 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.002709, allocations: 131.8 kB / 0.5222 GB, free: 444 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.00274, allocations: 4 kB / 0.5222 GB, free: 440 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.002763, allocations: 23.36 kB / 0.5223 GB, free: 408 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.00289, allocations: 497 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.002898, allocations: 0 / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.002903, allocations: 4.938 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.002934, allocations: 8.375 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.002935, allocations: 0 / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.771e-05/0.002973, allocations: 42.23 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.002986, allocations: 5.219 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00299, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.003002, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.003052, allocations: 3.984 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.003059, allocations: 4.625 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.00307, allocations: 9.75 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.003074, allocations: 0 / 0.5228 GB, free: 15.82 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.533e-05/0.003129, allocations: 152.6 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-06/0.003132, allocations: 352 / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.003149, allocations: 7 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.003151, allocations: 1.625 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.003155, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.003158, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.538e-05/0.003213, allocations: 112.6 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.003214, allocations: 5.359 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-06/0.00322, allocations: 4 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.003221, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.003227, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.003228, allocations: 0.5312 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.003229, allocations: 1.688 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.31e-05/0.003292, allocations: 80.28 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-06/0.003296, allocations: 0 / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.003305, allocations: 3.984 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-06/0.003308, allocations: 2.281 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.003324, allocations: 4 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.003325, allocations: 0 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.691e-05/0.003352, allocations: 119.2 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003352, allocations: 3.938 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001078/0.00346, allocations: 0 / 0.5233 GB, free: 15.27 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 7.34e-05/0.003533, allocations: 101.9 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.003609, allocations: 11.69 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.003611, allocations: 4 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.003627, allocations: 11.62 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.003727, allocations: 5.312 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.00397, allocations: 91.88 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.004003, allocations: 55.36 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.308e-05/0.004016, allocations: 0.8438 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.004034, allocations: 8.5 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.004034, allocations: 2 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.001434/0.005468, allocations: 189.5 kB / 0.5238 GB, free: 14.74 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.7384388491045684]