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.0007158/0.0007158, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007398/0.0007398, allocations: 211.9 kB / 23.01 MB, free: 3.105 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.8346/0.8346, allocations: 230.6 MB / 256.8 MB, free: 3.445 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.7379/0.7379, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 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.0009645/0.0009645, allocations: 67.89 kB / 0.7195 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.4999, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001519/0.5014, allocations: 0.6493 MB / 0.8198 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.5023, allocations: 0.8583 MB / 0.8206 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.5023, allocations: 7.875 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.5024, allocations: 4.625 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.5024, allocations: 5.953 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.5026, allocations: 8.734 kB / 0.8206 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.166e-05/0.5027, allocations: 25.42 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.5028, allocations: 3.312 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.5029, allocations: 14.11 kB / 0.8207 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.5029, allocations: 15.12 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.5029, allocations: 2.281 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.883e-05/0.503, allocations: 9.203 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.503, allocations: 5.609 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.503, allocations: 7.969 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.5031, allocations: 31.39 kB / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5031, allocations: 0 / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5031, allocations: 1.656 kB / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5031, allocations: 1.312 kB / 0.8207 GB, free: 24.14 MB / 0.6355 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.0003394/0.5035, allocations: 263.3 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5035, allocations: 11.03 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.5036, allocations: 9.047 kB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.5037, allocations: 114 kB / 0.8211 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.5037, allocations: 1.656 kB / 0.8211 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.5037, allocations: 1.719 kB / 0.8211 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.5038, allocations: 50.55 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5038, allocations: 6.047 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5038, allocations: 3.938 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5039, allocations: 0.5938 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.504, allocations: 33.36 kB / 0.8212 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.5042, allocations: 214.1 kB / 0.8214 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.5043, allocations: 46.53 kB / 0.8215 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.5044, allocations: 22.56 kB / 0.8215 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5044, allocations: 2.516 kB / 0.8215 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.5044, allocations: 32.22 kB / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.274e-06/0.5044, allocations: 0 / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002343/0.5046, allocations: 85.98 kB / 0.8216 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.5047, allocations: 56.45 kB / 0.8217 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.5047, allocations: 97.27 kB / 0.8217 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.5047, allocations: 25.7 kB / 0.8218 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.5048, allocations: 89.75 kB / 0.8219 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.5048, allocations: 5.922 kB / 0.8219 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.5048, allocations: 12.59 kB / 0.8219 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.38e-05/0.5048, allocations: 316.9 kB / 0.8222 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.5049, allocations: 26.05 kB / 0.8222 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.5049, allocations: 22.06 kB / 0.8222 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.505, allocations: 36.44 kB / 0.8223 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.505, allocations: 1.203 kB / 0.8223 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001168/0.5051, allocations: 72.72 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5051, allocations: 5.953 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5052, allocations: 0 / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5052, allocations: 1 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.5052, allocations: 9.641 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5052, allocations: 4 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.5053, allocations: 6.859 kB / 0.8224 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.5053, allocations: 0.9062 kB / 0.8224 GB, free: 22.64 MB / 0.6355 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.082e-05/0.5053, allocations: 116.4 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.5053, allocations: 2.766 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.5055, allocations: 74.22 kB / 0.8225 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5055, allocations: 0.5938 kB / 0.8225 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5055, allocations: 0.5625 kB / 0.8225 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5055, allocations: 5.25 kB / 0.8225 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.5056, allocations: 130.7 kB / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5056, allocations: 0.6875 kB / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.5056, allocations: 9.609 kB / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5056, allocations: 0 / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5056, allocations: 0.75 kB / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5056, allocations: 0.6875 kB / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5056, allocations: 0.8906 kB / 0.8227 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.5057, allocations: 170.7 kB / 0.8228 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.5058, allocations: 6.281 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.5058, allocations: 0.7031 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.5058, allocations: 5.578 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.5058, allocations: 7.422 kB / 0.8229 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.5058, allocations: 4.688 kB / 0.8229 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.847e-05/0.5059, allocations: 79.59 kB / 0.8229 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5059, allocations: 0 / 0.8229 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001371/0.506, allocations: 3.938 kB / 0.823 GB, free: 22.07 MB / 0.6355 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.246e-05/0.5061, allocations: 97.5 kB / 0.823 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.5062, allocations: 34.73 kB / 0.8231 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5062, allocations: 8 kB / 0.8231 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.5063, allocations: 19.69 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.5065, allocations: 9 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.5068, allocations: 130.4 kB / 0.8232 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.22e-05/0.5069, allocations: 0.6799 MB / 0.8239 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.5069, allocations: 16.84 kB / 0.8239 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.5069, allocations: 5.438 kB / 0.8239 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.001837/0.5087, allocations: 0.5434 MB / 0.8245 GB, free: 21.08 MB / 0.6355 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: 5.473351672990248] Failed to read output from testmodel.py, exit status != 0: 0.5149075500667095 0.523863368 0.018901514 Calling exit ...