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.0006745/0.0006745, allocations: 96.38 kB / 19.7 MB, free: 448 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.0006894/0.0006894, allocations: 211.8 kB / 23 MB, free: 2.977 MB / 13.93 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.8412/0.8412, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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-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 0.7249/0.7249, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: 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.0008836/0.0008836, allocations: 65.67 kB / 0.7194 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3979, allocations: 102 MB / 0.8191 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0012/0.3991, allocations: 0.6598 MB / 0.8197 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005325/0.3996, allocations: 0.8417 MB / 0.8205 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.3996, allocations: 0 / 0.8205 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.3997, allocations: 3.938 kB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.3997, allocations: 12.56 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3998, allocations: 10.28 kB / 0.8205 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.555e-05/0.3999, allocations: 28.23 kB / 0.8206 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.4, allocations: 3.797 kB / 0.8206 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.4, allocations: 10.48 kB / 0.8206 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.879e-05/0.4001, allocations: 8.375 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.4001, allocations: 2 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.518e-05/0.4001, allocations: 14.44 kB / 0.8206 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.4001, allocations: 5.25 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.4001, allocations: 11.58 kB / 0.8206 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.4002, allocations: 24.91 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4002, allocations: 0 / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4002, allocations: 0 / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4002, allocations: 7.938 kB / 0.8207 GB, free: 236 kB / 0.6042 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.0002861/0.4005, allocations: 263.9 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.4006, allocations: 9.312 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.4006, allocations: 4.203 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.012e-05/0.4007, allocations: 111.9 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.4007, allocations: 2.156 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.4007, allocations: 5.531 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4008, allocations: 45.55 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4008, allocations: 192 / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.4008, allocations: 11.94 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4008, allocations: 3.875 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.4009, allocations: 33.73 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.4012, allocations: 190 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.4012, allocations: 43.2 kB / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.4013, allocations: 21.36 kB / 0.8214 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.4013, allocations: 7.938 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.4013, allocations: 33.3 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.4013, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002213/0.4015, allocations: 82.12 kB / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4016, allocations: 56.28 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/0.4016, allocations: 95.56 kB / 0.8216 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.4016, allocations: 29.7 kB / 0.8217 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.4016, allocations: 84.28 kB / 0.8217 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.4017, allocations: 11.42 kB / 0.8218 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.4017, allocations: 12.45 kB / 0.8218 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.4018, allocations: 318.7 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.4018, allocations: 14.22 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.4018, allocations: 16 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.4019, allocations: 38.08 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4019, allocations: 4.062 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.211e-05/0.402, allocations: 75.84 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.402, allocations: 4.188 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.402, allocations: 0.625 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.402, allocations: 0 / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.4021, allocations: 10.69 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4021, allocations: 3.938 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.4021, allocations: 6.125 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.4021, allocations: 5.562 kB / 0.8222 GB, free: 14.75 MB / 0.6198 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 4.972e-05/0.4021, allocations: 111.7 kB / 0.8223 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.4022, allocations: 5.828 kB / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.4023, allocations: 71.81 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4023, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4023, allocations: 1.25 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4023, allocations: 0.7031 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.515e-05/0.4024, allocations: 112 kB / 0.8225 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4024, allocations: 4.781 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.4024, allocations: 8.422 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4024, allocations: 6.969 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.4024, allocations: 0 / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4024, allocations: 4.562 kB / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4024, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.4025, allocations: 159 kB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.4025, allocations: 13.59 kB / 0.8227 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.4025, allocations: 6.359 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.4026, allocations: 8.922 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.4026, allocations: 3 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.4026, allocations: 1.469 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.4026, allocations: 84.23 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4026, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001313/0.4027, allocations: 3.125 kB / 0.8228 GB, free: 14.21 MB / 0.6198 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.349e-05/0.4028, allocations: 99.14 kB / 0.8229 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.4029, allocations: 38.23 kB / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.4029, allocations: 0 / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.403, allocations: 20.34 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.4031, allocations: 1.531 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/0.4033, allocations: 132.6 kB / 0.8231 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.4034, allocations: 60.78 kB / 0.8232 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.4034, allocations: 15.5 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.4034, allocations: 0 / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.001202/0.4046, allocations: 0.5503 MB / 0.8237 GB, free: 13.85 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.140022045001388] Failed to read output from testmodel.py, exit status != 0: 0.40953668067231774 0.418153937 0.016162415 Calling exit ...