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.001359/0.001359, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001957/0.001957, allocations: 217.5 kB / 22.25 MB, free: 5.078 MB / 14.72 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 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-531:190: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-531:198: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.329/1.329, allocations: 203.8 MB / 0.5041 GB, free: 4.906 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003497/0.003497, allocations: 59.91 kB / 0.7187 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.686, allocations: 102 MB / 0.8184 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001957/0.6879, allocations: 0.6608 MB / 0.819 GB, free: 28.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.689, allocations: 0.856 MB / 0.8199 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.6891, allocations: 0 / 0.8199 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.6891, allocations: 2 kB / 0.8199 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.6892, allocations: 9.391 kB / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.6893, allocations: 9.719 kB / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.6894, allocations: 25.98 kB / 0.8199 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.6895, allocations: 4.062 kB / 0.8199 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.6896, allocations: 9.391 kB / 0.8199 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.6896, allocations: 12.94 kB / 0.8199 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.6896, allocations: 3.125 kB / 0.8199 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.922e-05/0.6897, allocations: 8.156 kB / 0.8199 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.6897, allocations: 7.109 kB / 0.8199 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.6897, allocations: 10.5 kB / 0.82 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.6898, allocations: 34.2 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6898, allocations: 0 / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6898, allocations: 0.8125 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.6899, allocations: 0.8906 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB 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.0004218/0.6903, allocations: 261.9 kB / 0.8202 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6903, allocations: 10.41 kB / 0.8202 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.6904, allocations: 12.05 kB / 0.8203 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.6905, allocations: 108.7 kB / 0.8204 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.6905, allocations: 1.844 kB / 0.8204 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.6905, allocations: 1.562 kB / 0.8204 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.6907, allocations: 51.16 kB / 0.8204 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.6907, allocations: 192 / 0.8204 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6907, allocations: 4.469 kB / 0.8204 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6907, allocations: 1.594 kB / 0.8204 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.6909, allocations: 33.52 kB / 0.8205 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.6912, allocations: 219.3 kB / 0.8207 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.6913, allocations: 44.97 kB / 0.8207 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.6914, allocations: 24.22 kB / 0.8207 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.6914, allocations: 4.531 kB / 0.8207 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.6915, allocations: 38.14 kB / 0.8208 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6915, allocations: 0 / 0.8208 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.6918, allocations: 85.05 kB / 0.8208 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.6918, allocations: 52.38 kB / 0.8209 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.6919, allocations: 98.11 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.6919, allocations: 27.27 kB / 0.821 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.6919, allocations: 90.91 kB / 0.8211 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.692, allocations: 6.141 kB / 0.8211 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.692, allocations: 12.41 kB / 0.8211 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.692, allocations: 320 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.6921, allocations: 13.39 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.6922, allocations: 18.23 kB / 0.8215 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.6923, allocations: 41.22 kB / 0.8215 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6923, allocations: 1.188 kB / 0.8215 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000189/0.6925, allocations: 74.77 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6926, allocations: 5 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6926, allocations: 0 / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6926, allocations: 0.875 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.6927, allocations: 8.766 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6927, allocations: 4.594 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.6927, allocations: 7.484 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.6927, allocations: 0 / 0.8216 GB, free: 26.57 MB / 0.6387 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 5.195e-05/0.6928, allocations: 118.6 kB / 0.8217 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.6928, allocations: 1.125 kB / 0.8217 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.693, allocations: 77.28 kB / 0.8218 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.693, allocations: 0.6562 kB / 0.8218 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.693, allocations: 0.7812 kB / 0.8218 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.693, allocations: 0.6094 kB / 0.8218 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.6932, allocations: 138.7 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6932, allocations: 1.609 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.6932, allocations: 8.141 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6932, allocations: 0.625 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.6932, allocations: 4.562 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6932, allocations: 0.6562 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6932, allocations: 0 / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.6935, allocations: 162.9 kB / 0.8221 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.6935, allocations: 6.297 kB / 0.8221 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6935, allocations: 1.156 kB / 0.8221 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.6936, allocations: 10.5 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.6936, allocations: 6.188 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.6936, allocations: 4.625 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.6937, allocations: 84.09 kB / 0.8222 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6937, allocations: 1.031 kB / 0.8222 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002198/0.6939, allocations: 7.188 kB / 0.8222 GB, free: 26 MB / 0.6387 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.0001092/0.694, allocations: 92.91 kB / 0.8223 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.6942, allocations: 39.14 kB / 0.8223 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6942, allocations: 0 / 0.8223 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.6943, allocations: 20.5 kB / 0.8223 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.6946, allocations: 6.578 kB / 0.8224 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.695, allocations: 110.6 kB / 0.8225 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.6951, allocations: 0.6747 MB / 0.8231 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.6951, allocations: 2.234 kB / 0.8231 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.6952, allocations: 8.562 kB / 0.8231 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6952, allocations: 0 / 0.8231 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of Templates: time 0.003501/0.6987, allocations: 459.1 kB / 0.8236 GB, free: 25.01 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.946732692420483] Failed to read output from testmodel.py, exit status != 0: 0.7101620212197304 0.722916313 0.030118040000000002 Calling exit ...