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.001238/0.001238, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00151/0.00151, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9659/0.9659, allocations: 230.6 MB / 256 MB, free: 9.801 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.8234/0.8234, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.000969/0.000969, allocations: 62.5 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5643, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001538/0.5658, allocations: 0.6658 MB / 0.8186 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007573/0.5666, allocations: 0.8572 MB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.5666, allocations: 3.938 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.5667, allocations: 0 / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.5667, allocations: 4.734 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.5669, allocations: 9.531 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.567, allocations: 24.59 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.5671, allocations: 4.031 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.5672, allocations: 12.22 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.5672, allocations: 17.81 kB / 0.8195 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.5673, allocations: 3.781 kB / 0.8195 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.5673, allocations: 8.266 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.5673, allocations: 4.609 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.5673, allocations: 11.48 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.5675, allocations: 27.5 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5675, allocations: 0.7031 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5675, allocations: 0 / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.5675, allocations: 3.125 kB / 0.8195 GB, free: 144 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.0004187/0.5679, allocations: 267.2 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.568, allocations: 10.78 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.568, allocations: 33.38 kB / 0.8198 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.61e-05/0.5681, allocations: 1.781 kB / 0.8198 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.5682, allocations: 110.8 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5682, allocations: 4.375 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.5682, allocations: 2.625 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5683, allocations: 49.69 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5684, allocations: 7.938 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.5684, allocations: 0 / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5684, allocations: 0 / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.5685, allocations: 42.45 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.5688, allocations: 216.3 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.5689, allocations: 45.2 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.569, allocations: 18.41 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.569, allocations: 0 / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.569, allocations: 38.95 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.569, allocations: 0 / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002323/0.5692, allocations: 83.06 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5693, allocations: 52.11 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.5693, allocations: 101.5 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.5693, allocations: 25.7 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.5694, allocations: 80.84 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.5694, allocations: 13.17 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.5694, allocations: 13.45 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.5695, allocations: 316 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.5696, allocations: 20.98 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.5696, allocations: 14.64 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.5697, allocations: 37.06 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5697, allocations: 8.625 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001102/0.5698, allocations: 74.31 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5698, allocations: 7.125 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5698, allocations: 0 / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5698, allocations: 0 / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.5699, allocations: 10.47 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5699, allocations: 0 / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.5699, allocations: 9.875 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.5699, allocations: 0.6562 kB / 0.8212 GB, free: 14.58 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.79e-05/0.57, allocations: 115.2 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.57, allocations: 3.531 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.5702, allocations: 78.44 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5702, allocations: 0.8438 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5702, allocations: 0 / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5702, allocations: 3.984 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.5703, allocations: 132 kB / 0.8215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5703, allocations: 0 / 0.8215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.5703, allocations: 14.55 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5703, allocations: 0 / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5703, allocations: 4.562 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5703, allocations: 3.984 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5703, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.5705, allocations: 171 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.5705, allocations: 6.938 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5705, allocations: 4.688 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.5705, allocations: 7.281 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.5706, allocations: 1.969 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5706, allocations: 0 / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.5706, allocations: 85.78 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5706, allocations: 0 / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001404/0.5708, allocations: 2.188 kB / 0.8218 GB, free: 14 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.0003936/0.5711, allocations: 0.6951 MB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.5713, allocations: 46.47 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5713, allocations: 0 / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.5714, allocations: 17.88 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.5716, allocations: 10.47 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.572, allocations: 129.9 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.5722, allocations: 0.676 MB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.5723, allocations: 5.469 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.5723, allocations: 13.98 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.5723, allocations: 0 / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.5913, allocations: 1.375 MB / 0.8247 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/7.163, allocations: 13.25 kB / 0.8247 GB, free: 12.03 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.207687453133985] Failed to read output from testmodel.py, exit status != 0: 7.238642897922546 7.25538037 6.684514348 Calling exit ...