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.0009029/0.0009029, allocations: 73.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.0009297/0.0009297, allocations: 169 kB / 24.06 MB, free: 456 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.9113/0.9113, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7789/0.7789, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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 179] 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 1.533e-06/1.533e-06, allocations: 0 / 0.5216 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.317e-05, allocations: 4.766 kB / 0.5216 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001127/0.00115, allocations: 0.6554 MB / 0.5222 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007797/0.001929, allocations: 0.867 MB / 0.5231 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.001964, allocations: 0.5 kB / 0.5231 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.001991, allocations: 1.031 kB / 0.5231 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.002057, allocations: 3.938 kB / 0.5231 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.002204, allocations: 21.08 kB / 0.5231 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.002264, allocations: 23.92 kB / 0.5231 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.002336, allocations: 7.984 kB / 0.5231 GB, free: 320 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.002396, allocations: 8.625 kB / 0.5232 GB, free: 312 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.002425, allocations: 11.98 kB / 0.5232 GB, free: 300 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.002436, allocations: 1.406 kB / 0.5232 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.002474, allocations: 8 kB / 0.5232 GB, free: 292 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.002486, allocations: 0 / 0.5232 GB, free: 292 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.22e-05/0.002498, allocations: 11.92 kB / 0.5232 GB, free: 280 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.395e-05/0.002572, allocations: 20.5 kB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002574, allocations: 0.75 kB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002575, allocations: 0 / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002578, allocations: 1.156 kB / 0.5232 GB, free: 260 kB / 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.0002932/0.002872, allocations: 356.6 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.0029, allocations: 8.031 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.788e-05/0.002978, allocations: 13.8 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.351e-05/0.003052, allocations: 112.6 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.003061, allocations: 384 / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-06/0.003066, allocations: 1.406 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.003147, allocations: 54.95 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.003153, allocations: 0.8438 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.003158, allocations: 384 / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.003163, allocations: 1.094 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.003183, allocations: 15.91 kB / 0.5237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.003383, allocations: 237.2 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.003426, allocations: 31.94 kB / 0.524 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.003439, allocations: 7.688 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.00345, allocations: 6.844 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.003469, allocations: 33.39 kB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.003469, allocations: 0 / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001083/0.003578, allocations: 53.52 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.003605, allocations: 51.41 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.003664, allocations: 157.9 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.003673, allocations: 29.7 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.003711, allocations: 132.1 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.003727, allocations: 7.891 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.003752, allocations: 23.38 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.00386, allocations: 496.7 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.003867, allocations: 0 / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.003876, allocations: 4.562 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.003897, allocations: 16.61 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.003899, allocations: 0 / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.55e-05/0.003944, allocations: 38.98 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.003954, allocations: 4 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.003957, allocations: 0 / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.003967, allocations: 4.469 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.004015, allocations: 8.969 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.004019, allocations: 3.984 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.004035, allocations: 4.656 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.004038, allocations: 0 / 0.525 GB, free: 14.19 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 6.137e-05/0.0041, allocations: 157.7 kB / 0.5252 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.004114, allocations: 0 / 0.5252 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.004187, allocations: 55.28 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.00419, allocations: 3.938 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.004192, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004195, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/0.004279, allocations: 101.2 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.00428, allocations: 0 / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.004298, allocations: 8 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.004299, allocations: 2.562 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.004303, allocations: 0 / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.004303, allocations: 3.938 kB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004304, allocations: 0 / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.215e-05/0.004376, allocations: 183.9 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.004381, allocations: 8 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-06/0.004387, allocations: 0 / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.811e-05/0.004415, allocations: 4.531 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.004439, allocations: 9.047 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.004442, allocations: 7.938 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.004473, allocations: 127.2 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004473, allocations: 0.6562 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001261/0.004599, allocations: 4 kB / 0.5257 GB, free: 13.48 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 6.473e-05/0.004664, allocations: 101.4 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.547e-05/0.004719, allocations: 11.69 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.82e-07/0.00472, allocations: 0 / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.004733, allocations: 11.69 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.004899, allocations: 8 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.005188, allocations: 132.9 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.761e-05/0.005216, allocations: 55.3 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.308e-05/0.005229, allocations: 0 / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.005268, allocations: 70.2 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.005268, allocations: 0.6562 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.001625/0.006893, allocations: 0.5216 MB / 0.5266 GB, free: 12.54 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: 3.514685066882521]