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.001449/0.001449, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001793/0.001793, allocations: 169 kB / 23.49 MB, free: 1.062 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.084/1.084, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8292/0.8292, allocations: 154.8 MB / 415.1 MB, free: 484 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.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 6.813e-06/6.813e-06, allocations: 0 / 0.5206 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.887e-05, allocations: 3.406 kB / 0.5206 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001377/0.001406, allocations: 0.6701 MB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002436, allocations: 0.8668 MB / 0.5221 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.002479, allocations: 0 / 0.5221 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.002514, allocations: 7.312 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.002594, allocations: 0 / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.002829, allocations: 15.92 kB / 0.5222 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.995e-05/0.002909, allocations: 27.86 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003019, allocations: 7.984 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.003101, allocations: 11.98 kB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.003137, allocations: 4 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.003154, allocations: 4 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.932e-05/0.003204, allocations: 8.5 kB / 0.5222 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.003221, allocations: 7.922 kB / 0.5222 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003242, allocations: 12.5 kB / 0.5222 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.00335, allocations: 16.53 kB / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003352, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003353, allocations: 0.875 kB / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.003358, allocations: 0 / 0.5223 GB, free: 0.5547 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.0003716/0.00373, allocations: 362.1 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.003773, allocations: 12.03 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.003888, allocations: 4.891 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.003994, allocations: 108.6 kB / 0.5227 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004008, allocations: 5.312 kB / 0.5227 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004018, allocations: 384 / 0.5227 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.004155, allocations: 52.05 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004163, allocations: 192 / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004174, allocations: 4.375 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.004182, allocations: 1.844 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.004215, allocations: 11.86 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.004515, allocations: 243.8 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.004569, allocations: 31.88 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.004593, allocations: 11.72 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.004612, allocations: 1.281 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.004637, allocations: 45.39 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004638, allocations: 0 / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.004803, allocations: 46.88 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.004846, allocations: 51.41 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.004952, allocations: 161.9 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.004966, allocations: 26.48 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.005024, allocations: 130.9 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.005054, allocations: 13.58 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.005084, allocations: 19.38 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.005233, allocations: 496.1 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.005247, allocations: 0 / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.00526, allocations: 6.219 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.005297, allocations: 19.62 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0053, allocations: 0 / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.982e-05/0.00536, allocations: 33.7 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.005377, allocations: 7.984 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.005384, allocations: 6.562 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.005398, allocations: 4 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.005479, allocations: 4 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.005485, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.005506, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.005513, allocations: 4 kB / 0.5241 GB, free: 14.47 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 8.68e-05/0.0056, allocations: 163.3 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.005616, allocations: 0 / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.005722, allocations: 56.88 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005724, allocations: 192 / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.005731, allocations: 4 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.005737, allocations: 3.984 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.005862, allocations: 112.6 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005864, allocations: 1.031 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.005897, allocations: 7.984 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.0059, allocations: 0 / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.005911, allocations: 4.938 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.005914, allocations: 3.938 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.005916, allocations: 0.9375 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.006038, allocations: 187.9 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-06/0.006045, allocations: 0.5 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.006058, allocations: 0.6875 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.00609, allocations: 15.88 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.006131, allocations: 5.203 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.006135, allocations: 4 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.006178, allocations: 119.2 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006178, allocations: 0.625 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001309/0.006309, allocations: 4 kB / 0.5248 GB, free: 13.73 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 8.488e-05/0.006394, allocations: 93.22 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.006484, allocations: 23.67 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006486, allocations: 0 / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.006505, allocations: 18.06 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.006689, allocations: 4 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.007163, allocations: 125.2 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.0072, allocations: 59.34 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.007217, allocations: 0 / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.007245, allocations: 12.5 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.007245, allocations: 0 / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.002258/0.009503, allocations: 461.3 kB / 0.5255 GB, free: 12.9 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: 3.8714818928856403]