Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0009129/0.0009129, 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.001295/0.001295, allocations: 219 kB / 22.26 MB, free: 3.703 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.9668/0.9668, allocations: 230.6 MB / 256 MB, free: 9.793 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.7908/0.7908, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.001523/0.001523, allocations: 66.75 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5176, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001702/0.5193, allocations: 0.7017 MB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000772/0.5201, allocations: 0.8377 MB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.5202, allocations: 0 / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.5202, allocations: 0 / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.5203, allocations: 11.14 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.828e-05/0.5203, allocations: 16.36 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.5204, allocations: 40.94 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.5205, allocations: 11.42 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.5206, allocations: 25.97 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.5206, allocations: 19.66 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5206, allocations: 1.75 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-06/0.5206, allocations: 3.188 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.5207, allocations: 8.609 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.5207, allocations: 20.59 kB / 0.8196 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.5208, allocations: 39.34 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5208, allocations: 1.438 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5208, allocations: 4 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5208, allocations: 0 / 0.8196 GB, free: 80 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005021/0.5213, allocations: 294 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5214, allocations: 10.44 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.5214, allocations: 34.31 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.5214, allocations: 5.5 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.5215, allocations: 111.6 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5215, allocations: 4.375 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5215, allocations: 4.125 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.5218, allocations: 69.61 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5218, allocations: 3.938 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5218, allocations: 0 / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5218, allocations: 3.938 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.522, allocations: 72.17 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.5223, allocations: 240.6 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.5225, allocations: 52.95 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.5226, allocations: 40.86 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.5226, allocations: 0 / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5226, allocations: 31.7 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5226, allocations: 0 / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003288/0.5229, allocations: 132.4 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.523, allocations: 53.31 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.523, allocations: 107.1 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.523, allocations: 29.7 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.5231, allocations: 88.33 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.5231, allocations: 13.78 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.5231, allocations: 15.38 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.5232, allocations: 316.7 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.5233, allocations: 33.14 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.5234, allocations: 28.31 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.5235, allocations: 76.52 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5235, allocations: 4 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/0.5237, allocations: 99.92 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5237, allocations: 4.031 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5237, allocations: 6.359 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5237, allocations: 0 / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.5238, allocations: 14.94 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5238, allocations: 2.625 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.5239, allocations: 17.73 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5239, allocations: 0.5625 kB / 0.8215 GB, free: 14.45 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 (3): * Single equations (assignments): 3 * 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 6.299e-05/0.5239, allocations: 118.4 kB / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.524, allocations: 6.281 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.524, allocations: 4.656 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.524, allocations: 2.625 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.524, allocations: 0 / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.524, allocations: 4.5 kB / 0.8217 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.5241, allocations: 147.1 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5241, allocations: 0.75 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.5241, allocations: 17.95 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5242, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.5242, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5242, allocations: 3.938 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5242, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.5245, allocations: 199.2 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.5246, allocations: 6.547 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.5246, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.5246, allocations: 12.42 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.5247, allocations: 10.7 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.5247, allocations: 0 / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.5247, allocations: 90.44 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5247, allocations: 0 / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001573/0.5248, allocations: 13.31 kB / 0.8221 GB, free: 13.89 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 (3): * Single equations (assignments): 3 * 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.0003983/0.5252, allocations: 0.7265 MB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.5254, allocations: 65.25 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5254, allocations: 0.7188 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.5255, allocations: 37.34 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.5257, allocations: 11.48 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.5261, allocations: 164.4 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.5263, allocations: 0.6819 MB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.5263, allocations: 0.6094 kB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.5264, allocations: 22.44 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5264, allocations: 0 / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.5431, allocations: 1.749 MB / 0.8255 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/7.27, allocations: 6.969 kB / 0.8255 GB, free: 11.87 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average_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_Average.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.28551199589856] Failed to read output from testmodel.py, exit status != 0: 7.345515189925209 7.357108236 6.834156441 Calling exit ...