Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.00105/0.00105, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001001/0.001001, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9892/0.9892, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8132/0.8132, allocations: 154.9 MB / 415.9 MB, free: 236 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.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.5219 GB, free: 392 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.907e-05, allocations: 3.094 kB / 0.5219 GB, free: 388 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001991/0.00202, allocations: 0.6603 MB / 0.5226 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003192, allocations: 0.8923 MB / 0.5235 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.003231, allocations: 0 / 0.5235 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.003258, allocations: 0 / 0.5235 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.003328, allocations: 2.578 kB / 0.5235 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.003493, allocations: 21 kB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.003561, allocations: 18.83 kB / 0.5235 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.003655, allocations: 9.562 kB / 0.5235 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.003734, allocations: 12.53 kB / 0.5235 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.003775, allocations: 9.219 kB / 0.5235 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.003792, allocations: 0 / 0.5235 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.003801, allocations: 4 kB / 0.5235 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.003821, allocations: 9.328 kB / 0.5235 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.00384, allocations: 4 kB / 0.5236 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.003922, allocations: 19.91 kB / 0.5236 GB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003925, allocations: 3.938 kB / 0.5236 GB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003926, allocations: 4.688 kB / 0.5236 GB, free: 14.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.00393, allocations: 0 / 0.5236 GB, free: 14.73 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003521/0.004282, allocations: 346.2 kB / 0.5239 GB, free: 14.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00432, allocations: 12.03 kB / 0.5239 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.00435, allocations: 5.234 kB / 0.5239 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.004442, allocations: 112.6 kB / 0.524 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.004453, allocations: 10.25 kB / 0.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.004462, allocations: 4.359 kB / 0.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.004578, allocations: 50.95 kB / 0.5241 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.004585, allocations: 192 / 0.5241 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.004592, allocations: 384 / 0.5241 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.0046, allocations: 5.844 kB / 0.5241 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.004626, allocations: 3.938 kB / 0.5241 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004885, allocations: 232.5 kB / 0.5243 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.004937, allocations: 31.97 kB / 0.5244 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.00496, allocations: 15.75 kB / 0.5244 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.004972, allocations: 0 / 0.5244 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.004995, allocations: 34.36 kB / 0.5244 GB, free: 13.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004996, allocations: 0 / 0.5244 GB, free: 13.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.005129, allocations: 42.62 kB / 0.5244 GB, free: 13.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.005166, allocations: 59.34 kB / 0.5245 GB, free: 13.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.005245, allocations: 158.4 kB / 0.5247 GB, free: 13.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.005256, allocations: 26.73 kB / 0.5247 GB, free: 13.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.005308, allocations: 142.8 kB / 0.5248 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.005324, allocations: 3.938 kB / 0.5248 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.005357, allocations: 20.59 kB / 0.5248 GB, free: 13.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.005496, allocations: 492.1 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.005511, allocations: 4 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.00552, allocations: 1.781 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.005551, allocations: 15.67 kB / 0.5253 GB, free: 12.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005553, allocations: 0 / 0.5253 GB, free: 12.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.529e-05/0.005629, allocations: 51.36 kB / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.005642, allocations: 4 kB / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.00565, allocations: 0 / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005661, allocations: 7.938 kB / 0.5254 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.005734, allocations: 7.938 kB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.005736, allocations: 1.562 kB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.005762, allocations: 3.984 kB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.005767, allocations: 8 kB / 0.5254 GB, free: 12.67 MB / 458.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 (2): * Single equations (assignments): 2 * 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 7.098e-05/0.005838, allocations: 153.3 kB / 0.5256 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.005861, allocations: 0 / 0.5256 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.005882, allocations: 8.781 kB / 0.5256 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.005885, allocations: 3.938 kB / 0.5256 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005887, allocations: 0 / 0.5256 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005889, allocations: 0 / 0.5256 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.006012, allocations: 102.3 kB / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006013, allocations: 0 / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.006048, allocations: 4 kB / 0.5257 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00605, allocations: 0.9375 kB / 0.5257 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.006055, allocations: 0 / 0.5257 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006056, allocations: 4 kB / 0.5257 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006058, allocations: 3 kB / 0.5257 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.006179, allocations: 187.8 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.006187, allocations: 7.953 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.006198, allocations: 4.188 kB / 0.5259 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.006256, allocations: 3.984 kB / 0.5259 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.006286, allocations: 7.984 kB / 0.5259 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.00629, allocations: 3.938 kB / 0.5259 GB, free: 12.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.006332, allocations: 125.9 kB / 0.526 GB, free: 12.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006332, allocations: 0 / 0.526 GB, free: 12.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.006565, allocations: 0 / 0.526 GB, free: 12.02 MB / 458.7 MB 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 (2): * Single equations (assignments): 2 * 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 9.781e-05/0.006662, allocations: 102.1 kB / 0.5261 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.006734, allocations: 15.67 kB / 0.5261 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006736, allocations: 0.5312 kB / 0.5261 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.006757, allocations: 16.94 kB / 0.5261 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.007011, allocations: 8 kB / 0.5261 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.007315, allocations: 111.7 kB / 0.5262 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.967e-05/0.007365, allocations: 67.14 kB / 0.5263 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.007388, allocations: 0 / 0.5263 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.00745, allocations: 74.2 kB / 0.5264 GB, free: 11.57 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.007451, allocations: 1.281 kB / 0.5264 GB, free: 11.57 MB / 458.7 MB Notification: Performance of Templates: time 0.002675/0.01013, allocations: 0.5145 MB / 0.5269 GB, free: 11.07 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7165465699508786]