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.001154/0.001154, allocations: 89.06 kB / 19.65 MB, free: 276 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.0009134/0.0009134, allocations: 177.3 kB / 23.02 MB, free: 1.543 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.8777/0.8777, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7691/0.7691, allocations: 154.6 MB / 414.5 MB, free: 0.6445 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.794e-06/1.794e-06, allocations: 0 / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.862e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001107/0.001125, allocations: 0.6571 MB / 0.521 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007353/0.00186, allocations: 0.8721 MB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.001889, allocations: 0.625 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.001918, allocations: 1.422 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.00198, allocations: 3.938 kB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.002157, allocations: 19.86 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.00222, allocations: 16.66 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.002302, allocations: 11.98 kB / 0.5219 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.602e-05/0.002368, allocations: 13.64 kB / 0.5219 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.0024, allocations: 11.92 kB / 0.522 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.002413, allocations: 0 / 0.522 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.002452, allocations: 8 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.002465, allocations: 1.625 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002484, allocations: 11.98 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.76e-05/0.002572, allocations: 19.97 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002574, allocations: 3.938 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002574, allocations: 0 / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002578, allocations: 0.75 kB / 0.522 GB, free: 0.5039 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.0003458/0.002924, allocations: 357.9 kB / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.002963, allocations: 8.031 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.003062, allocations: 8.891 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.003149, allocations: 113.8 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.003162, allocations: 8.375 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.003169, allocations: 384 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.003274, allocations: 53.23 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003282, allocations: 192 / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.003289, allocations: 384 / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.003297, allocations: 384 / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.003322, allocations: 11.92 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.003564, allocations: 247.8 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.003614, allocations: 32.72 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.003633, allocations: 11.75 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.003648, allocations: 0 / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.00367, allocations: 37.39 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.003671, allocations: 0.5625 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.003829, allocations: 50.42 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.003861, allocations: 55.41 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.003928, allocations: 163 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.003936, allocations: 25.7 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.003976, allocations: 126.9 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.003996, allocations: 12.67 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.004019, allocations: 19.38 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.004124, allocations: 493.2 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.004136, allocations: 4 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.004146, allocations: 3.984 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.004174, allocations: 17.19 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004176, allocations: 0 / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.347e-05/0.004229, allocations: 38.77 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.004242, allocations: 8 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.004249, allocations: 7.938 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.004264, allocations: 4.625 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.004339, allocations: 7.984 kB / 0.5238 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.004344, allocations: 1.281 kB / 0.5238 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.00436, allocations: 4 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.004365, allocations: 0 / 0.5239 GB, free: 14.41 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.0001244/0.004489, allocations: 161.1 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.0045, allocations: 2.875 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.004591, allocations: 52.53 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.004593, allocations: 0 / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.004598, allocations: 0 / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.004602, allocations: 0 / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.297e-05/0.004695, allocations: 120.5 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004696, allocations: 0 / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.004717, allocations: 7.031 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.004721, allocations: 3.984 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.004728, allocations: 8 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.00473, allocations: 3.938 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004731, allocations: 0 / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.004816, allocations: 176 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.004822, allocations: 4 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.004832, allocations: 3.984 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.004863, allocations: 13.44 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.004897, allocations: 0 / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.004899, allocations: 0 / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.004934, allocations: 127.2 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004934, allocations: 3.062 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001273/0.005062, allocations: 4 kB / 0.5245 GB, free: 13.68 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.672e-05/0.005128, allocations: 95.19 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.005204, allocations: 15.69 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.005205, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.005221, allocations: 14.12 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.00539, allocations: 7.984 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.005777, allocations: 130.2 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.00581, allocations: 52.61 kB / 0.5248 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.005827, allocations: 7.984 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.005851, allocations: 9.375 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.005851, allocations: 3.938 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002191/0.008043, allocations: 0.4944 MB / 0.5253 GB, free: 12.83 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.4651401890441775]