Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001874/0.001874, allocations: 85.48 kB / 19.44 MB, free: 340 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.001994/0.001994, 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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.372/1.372, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.711e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.003357/0.003394, allocations: 0.6508 MB / 0.5206 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.005115, allocations: 0.8558 MB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.005155, allocations: 1.156 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.005185, allocations: 3.938 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.005272, allocations: 4.969 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.005473, allocations: 4 kB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.005583, allocations: 23.92 kB / 0.5214 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005692, allocations: 9.016 kB / 0.5214 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.005787, allocations: 19.88 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.005827, allocations: 3.984 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.005849, allocations: 4.656 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.005911, allocations: 16.64 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.005926, allocations: 0 / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.005964, allocations: 16.67 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.006087, allocations: 15.97 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006091, allocations: 4.938 kB / 0.5215 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006092, allocations: 0 / 0.5215 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.006096, allocations: 0 / 0.5215 GB, free: 0.5742 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.0006284/0.006725, allocations: 363.1 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.006766, allocations: 8.031 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.006903, allocations: 12.88 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.007057, allocations: 104.6 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.00707, allocations: 4.375 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.00708, allocations: 384 / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.007283, allocations: 46.19 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007294, allocations: 1.406 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.007304, allocations: 384 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.007315, allocations: 4.375 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.007486, allocations: 24.48 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.007942, allocations: 252.4 kB / 0.5223 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.008099, allocations: 43.98 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.008185, allocations: 13.09 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.008208, allocations: 7.938 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.008251, allocations: 33.39 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.008252, allocations: 0 / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000469/0.008721, allocations: 75.06 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.008782, allocations: 51.41 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.008962, allocations: 175.8 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.008989, allocations: 25.7 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.009093, allocations: 130.9 kB / 0.5228 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.009112, allocations: 3.953 kB / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.009172, allocations: 19.38 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003652/0.009537, allocations: 0.4933 MB / 0.5233 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.009615, allocations: 7.938 kB / 0.5233 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.009684, allocations: 12.8 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.009839, allocations: 32.83 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.009841, allocations: 0 / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002245/0.01007, allocations: 55.12 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01008, allocations: 4 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.01009, allocations: 3.938 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01011, allocations: 0.7812 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01022, allocations: 11.98 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.01023, allocations: 0.7812 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.01027, allocations: 3.938 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01028, allocations: 10.84 kB / 0.5235 GB, free: 14.38 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.0001549/0.01044, allocations: 152.6 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.01048, allocations: 4 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.01074, allocations: 64.92 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01074, allocations: 0 / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.01074, allocations: 0 / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.01075, allocations: 1.094 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.01098, allocations: 116.6 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01098, allocations: 0 / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.01105, allocations: 14.75 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01105, allocations: 0 / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01107, allocations: 0 / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.01107, allocations: 3.938 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01107, allocations: 0 / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.01141, allocations: 207.8 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.01142, allocations: 2.562 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01144, allocations: 8 kB / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.01155, allocations: 7.922 kB / 0.524 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.0116, allocations: 4 kB / 0.524 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.01161, allocations: 3.938 kB / 0.524 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002142/0.01182, allocations: 123.2 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01182, allocations: 0.5312 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004064/0.01223, allocations: 4 kB / 0.5242 GB, free: 13.61 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.0001801/0.01241, allocations: 100.4 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.01264, allocations: 37.14 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01265, allocations: 0 / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.01274, allocations: 16.91 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.01317, allocations: 11.98 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.01357, allocations: 122.9 kB / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.809e-05/0.01366, allocations: 56.02 kB / 0.5245 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.01369, allocations: 11.42 kB / 0.5245 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.01373, allocations: 8.5 kB / 0.5245 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01373, allocations: 0 / 0.5245 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.004224/0.01795, allocations: 480.6 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.028282259008847]