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.0007805/0.0007805, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007742/0.0007742, allocations: 165.9 kB / 23.18 MB, free: 1.387 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 0.8777/0.8777, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-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.6716/0.6716, allocations: 155 MB / 415 MB, free: 468 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: 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.0009157/0.0009157, allocations: 75.89 kB / 0.62 GB, free: 12.69 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4138, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001369/0.4152, allocations: 0.6505 MB / 0.7202 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006591/0.4159, allocations: 0.8547 MB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.4159, allocations: 0 / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.4159, allocations: 0.8438 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.416, allocations: 5.156 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.4162, allocations: 11.16 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.4162, allocations: 24.03 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.4163, allocations: 3.469 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.4164, allocations: 11.03 kB / 0.7211 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.4164, allocations: 14.28 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.4164, allocations: 10.28 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.4165, allocations: 10 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.4165, allocations: 1.984 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.4165, allocations: 11.41 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.4166, allocations: 29.89 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4166, allocations: 0 / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4166, allocations: 0 / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4166, allocations: 0 / 0.7211 GB, free: 22.38 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.0003139/0.4169, allocations: 265.6 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.417, allocations: 10.88 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.4171, allocations: 8 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.063e-05/0.4171, allocations: 113.5 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4171, allocations: 1.625 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4171, allocations: 1.375 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4173, allocations: 49.41 kB / 0.7216 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4173, allocations: 0.75 kB / 0.7216 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4173, allocations: 3.938 kB / 0.7216 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4173, allocations: 1.344 kB / 0.7216 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.4174, allocations: 40.53 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.4176, allocations: 194.5 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.4177, allocations: 35.22 kB / 0.7218 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.4177, allocations: 20.2 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4177, allocations: 9.547 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.4178, allocations: 31.69 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4178, allocations: 3.938 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000225/0.418, allocations: 79.8 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.418, allocations: 53.05 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.4181, allocations: 102.1 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.4181, allocations: 25.7 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.4181, allocations: 86.19 kB / 0.7222 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.4181, allocations: 9.594 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.4181, allocations: 12.73 kB / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.637e-05/0.4181, allocations: 313.4 kB / 0.7226 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.4182, allocations: 21.98 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.4182, allocations: 17.44 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.355e-05/0.4183, allocations: 50.83 kB / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4183, allocations: 0 / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.4184, allocations: 70.28 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4184, allocations: 12.84 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4184, allocations: 0 / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4184, allocations: 1.312 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.4185, allocations: 8.625 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4185, allocations: 0 / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.4185, allocations: 7.219 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.4185, allocations: 0 / 0.7227 GB, free: 20.89 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 3.34e-05/0.4186, allocations: 111 kB / 0.7228 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.4186, allocations: 9.109 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.4187, allocations: 84.56 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4187, allocations: 0 / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4187, allocations: 1.125 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4187, allocations: 0.5156 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.229e-05/0.4188, allocations: 104.9 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4188, allocations: 0 / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.4188, allocations: 12.7 kB / 0.723 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4188, allocations: 3.938 kB / 0.723 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4188, allocations: 1.75 kB / 0.723 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.4188, allocations: 4 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4188, allocations: 1.062 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.4189, allocations: 164 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.4189, allocations: 13.86 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.4189, allocations: 1 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.419, allocations: 5.922 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.419, allocations: 2.516 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.419, allocations: 1.156 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.419, allocations: 85.02 kB / 0.7233 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.419, allocations: 0 / 0.7233 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001372/0.4192, allocations: 7.062 kB / 0.7233 GB, free: 20.35 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 7.017e-05/0.4192, allocations: 93.03 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.4194, allocations: 35.2 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4194, allocations: 1.312 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.4194, allocations: 22.83 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.4196, allocations: 11.78 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.4198, allocations: 137.6 kB / 0.7236 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.4199, allocations: 60 kB / 0.7237 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.4199, allocations: 9.562 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4199, allocations: 0 / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.001414/0.4213, allocations: 0.5597 MB / 0.7242 GB, free: 19.99 MB / 0.6355 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.377254768973216] Failed to read output from testmodel.py, exit status != 0: 0.4262632098980248 0.434014805 0.015676441 Calling exit ...