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.0009165/0.0009165, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000869/0.000869, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9679/0.9679, allocations: 230.6 MB / 256 MB, free: 9.617 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.798/0.798, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [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.000992/0.000992, allocations: 71.03 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4702, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001379/0.4716, allocations: 0.6492 MB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.4723, allocations: 0.8455 MB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.4724, allocations: 0 / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.4724, allocations: 3.938 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.154e-05/0.4725, allocations: 6.797 kB / 0.8193 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.4727, allocations: 10.61 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.4728, allocations: 23.05 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4729, allocations: 7.734 kB / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.4729, allocations: 9.188 kB / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.473, allocations: 15.81 kB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.473, allocations: 0 / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.473, allocations: 15.38 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.4731, allocations: 8.469 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.4731, allocations: 8.281 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.4732, allocations: 30.66 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4732, allocations: 0 / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4732, allocations: 0 / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4732, allocations: 0 / 0.8194 GB, free: 15.94 MB / 0.6198 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.0005375/0.4737, allocations: 267.3 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4738, allocations: 10.62 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.4738, allocations: 35.3 kB / 0.8197 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.4739, allocations: 2.969 kB / 0.8197 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.474, allocations: 116.2 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.474, allocations: 384 / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.474, allocations: 384 / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4741, allocations: 51.94 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4741, allocations: 3.938 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.4741, allocations: 0.5625 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4741, allocations: 4 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.4742, allocations: 31.25 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.4745, allocations: 216.7 kB / 0.8201 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.432e-05/0.4745, allocations: 40.34 kB / 0.8202 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.4746, allocations: 23.91 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4746, allocations: 0 / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4746, allocations: 31.17 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.4746, allocations: 4 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.4749, allocations: 85.86 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.4749, allocations: 52.25 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.4751, allocations: 97.5 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.4751, allocations: 25.7 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.4751, allocations: 84.8 kB / 0.8206 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.4751, allocations: 12.14 kB / 0.8206 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.4752, allocations: 18.17 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.4752, allocations: 315.9 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.4753, allocations: 14.86 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.4753, allocations: 22.58 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.4754, allocations: 37.22 kB / 0.821 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4754, allocations: 7.875 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.4755, allocations: 77.64 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.4755, allocations: 1.969 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4755, allocations: 3.125 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4755, allocations: 0.6562 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.4756, allocations: 7.047 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4756, allocations: 4.547 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.4756, allocations: 13.28 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4756, allocations: 0 / 0.8211 GB, free: 14.38 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 5.349e-05/0.4757, allocations: 118.4 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.4757, allocations: 3.75 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.4758, allocations: 74 kB / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4758, allocations: 0 / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4758, allocations: 1.844 kB / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4759, allocations: 0.6562 kB / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.892e-05/0.4759, allocations: 128.5 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.476, allocations: 0.6562 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.476, allocations: 13.78 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.476, allocations: 0 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.476, allocations: 192 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.476, allocations: 0.5156 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.476, allocations: 0 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.4762, allocations: 167.7 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.4762, allocations: 6.953 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.4762, allocations: 0.8906 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.4762, allocations: 9.875 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.4763, allocations: 3.172 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.4763, allocations: 0 / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.4763, allocations: 88.41 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4763, allocations: 0 / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001387/0.4764, allocations: 4.625 kB / 0.8217 GB, free: 13.81 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 0.0002878/0.4767, allocations: 0.6871 MB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.4769, allocations: 39.31 kB / 0.8224 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4769, allocations: 1.188 kB / 0.8224 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.4769, allocations: 25.52 kB / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.4771, allocations: 4.078 kB / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.4774, allocations: 134.4 kB / 0.8225 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.4775, allocations: 63.59 kB / 0.8226 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.618e-05/0.4775, allocations: 1.844 kB / 0.8226 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.4775, allocations: 13.2 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.4775, allocations: 0 / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.4917, allocations: 1.801 MB / 0.8244 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/7.135, allocations: 12.73 kB / 0.8244 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.177860543131828] Failed to read output from testmodel.py, exit status != 0: 7.210732894949615 7.22157157 6.746241344 Calling exit ...