Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.002419/0.002419, allocations: 93.47 kB / 19.44 MB, free: 336 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.002822/0.002822, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.318/1.318, allocations: 154.6 MB / 414.2 MB, free: 0.6289 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.408e-05, allocations: 5.375 kB / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002128/0.002162, allocations: 0.6561 MB / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003407, allocations: 0.8511 MB / 0.5212 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.003442, allocations: 0 / 0.5212 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.003466, allocations: 0 / 0.5212 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.003541, allocations: 4.656 kB / 0.5212 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.003742, allocations: 15.92 kB / 0.5212 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.003827, allocations: 28.95 kB / 0.5212 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.003918, allocations: 0 / 0.5212 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.00401, allocations: 17.19 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.004055, allocations: 11.94 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.004074, allocations: 4 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.004123, allocations: 7.938 kB / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.004142, allocations: 9.766 kB / 0.5213 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.004161, allocations: 0 / 0.5213 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.004279, allocations: 27.95 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004282, allocations: 0 / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004283, allocations: 0 / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.004289, allocations: 1.75 kB / 0.5213 GB, free: 0.8711 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005405/0.004829, allocations: 360.3 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.004875, allocations: 15.97 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.004991, allocations: 8.891 kB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.005113, allocations: 110.1 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.005126, allocations: 384 / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.005137, allocations: 4.375 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.00529, allocations: 46.23 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.005298, allocations: 0.9375 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005307, allocations: 384 / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.005311, allocations: 1.844 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.005428, allocations: 27.92 kB / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.005841, allocations: 247.8 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.005962, allocations: 44.38 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.006027, allocations: 19.75 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.006052, allocations: 8.938 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.006092, allocations: 37.39 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.634e-06/0.006093, allocations: 2.938 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.006381, allocations: 73.52 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.006431, allocations: 55.39 kB / 0.5223 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.006575, allocations: 157.9 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.006596, allocations: 29.7 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.006679, allocations: 126.9 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.006696, allocations: 4.516 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.006744, allocations: 27.36 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002632/0.007007, allocations: 492.7 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.00706, allocations: 8.844 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.817e-05/0.007108, allocations: 15.98 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.00721, allocations: 29.64 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007212, allocations: 0 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001492/0.007361, allocations: 58.56 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.007376, allocations: 4 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.007385, allocations: 7.922 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.007398, allocations: 1.406 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.007472, allocations: 4 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.007486, allocations: 0 / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.007519, allocations: 10.91 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.007524, allocations: 0 / 0.5232 GB, free: 14.68 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 (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 0.0001225/0.007646, allocations: 164.5 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.007671, allocations: 3.984 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.007852, allocations: 56.94 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.007856, allocations: 4 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.007862, allocations: 6.734 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007865, allocations: 0 / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.008018, allocations: 112.6 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008019, allocations: 3.938 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.008065, allocations: 7.984 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008066, allocations: 0 / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.008077, allocations: 4 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.00808, allocations: 3.938 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008081, allocations: 0.5625 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.008333, allocations: 205.2 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.008343, allocations: 3.984 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.008354, allocations: 0.5938 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.008426, allocations: 7.938 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.008465, allocations: 0.5 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.008473, allocations: 5.781 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.775e-05/0.008561, allocations: 131.2 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008561, allocations: 0 / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002003/0.008761, allocations: 4 kB / 0.5239 GB, free: 13.91 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 (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 0.00014/0.008901, allocations: 97.62 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.009072, allocations: 35.67 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009073, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.009145, allocations: 26.14 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.009402, allocations: 5.875 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.00972, allocations: 122.3 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.302e-05/0.009794, allocations: 59.34 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.009816, allocations: 4.969 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.009847, allocations: 12.5 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.009848, allocations: 0 / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.003078/0.01293, allocations: 476.4 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.060552099952474]