Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001326/0.001326, allocations: 119.3 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001374/0.001374, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.848/2.848, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002035/0.002035, allocations: 67.91 kB / 1.165 GB, free: 416 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.8677, allocations: 178.9 MB / 1.34 GB, free: 16.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002984/0.8707, allocations: 2.008 MB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.8718, allocations: 0.7426 MB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.872, allocations: 7 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.8721, allocations: 18.05 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.8722, allocations: 30.08 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.8725, allocations: 87.64 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.8727, allocations: 156.6 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.8729, allocations: 66.84 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.873, allocations: 67.7 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.8731, allocations: 73 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.8731, allocations: 14.19 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.8732, allocations: 61.75 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.8733, allocations: 68.3 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.8734, allocations: 95.38 kB / 1.344 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.8737, allocations: 267.7 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8737, allocations: 0 / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8737, allocations: 0 / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.8737, allocations: 5.5 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007326/0.8745, allocations: 0.5499 MB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8745, allocations: 9.969 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.8745, allocations: 3.016 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.8746, allocations: 50 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.8764, allocations: 432.9 kB / 1.345 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.8767, allocations: 311.5 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.8768, allocations: 69.78 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.8768, allocations: 16.92 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.8777, allocations: 381 kB / 1.346 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8777, allocations: 1.375 kB / 1.346 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.8777, allocations: 5.375 kB / 1.346 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.8777, allocations: 7.547 kB / 1.346 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.8789, allocations: 0.5383 MB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.8805, allocations: 1.012 MB / 1.347 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.8812, allocations: 284 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/0.8818, allocations: 274.4 kB / 1.348 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.8818, allocations: 5.422 kB / 1.348 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.8818, allocations: 31.36 kB / 1.348 GB, free: 11.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.8818, allocations: 0 / 1.348 GB, free: 11.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001915/0.8837, allocations: 0.7972 MB / 1.348 GB, free: 11.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.8838, allocations: 52.91 kB / 1.348 GB, free: 11.65 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.8841, allocations: 299.6 kB / 1.349 GB, free: 11.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8841, allocations: 25.7 kB / 1.349 GB, free: 11.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.8842, allocations: 163.2 kB / 1.349 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.8842, allocations: 19.52 kB / 1.349 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.8843, allocations: 40.36 kB / 1.349 GB, free: 11.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.8843, allocations: 335.4 kB / 1.349 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.885, allocations: 255.9 kB / 1.35 GB, free: 10.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/0.8856, allocations: 264 kB / 1.35 GB, free: 10.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.8867, allocations: 442.8 kB / 1.35 GB, free: 10.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8867, allocations: 0 / 1.35 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001269/0.8879, allocations: 0.5425 MB / 1.351 GB, free: 10.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.8879, allocations: 6.406 kB / 1.351 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8879, allocations: 0 / 1.351 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.888, allocations: 1.062 kB / 1.351 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.8884, allocations: 88.45 kB / 1.351 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.8884, allocations: 5.344 kB / 1.351 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.8887, allocations: 72.67 kB / 1.351 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.8887, allocations: 8.797 kB / 1.351 GB, free: 10.62 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001293/0.8889, allocations: 147.2 kB / 1.351 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.8889, allocations: 21.19 kB / 1.351 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.889, allocations: 25.5 kB / 1.351 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.889, allocations: 1.688 kB / 1.351 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.889, allocations: 0 / 1.351 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.889, allocations: 4.594 kB / 1.351 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.8894, allocations: 441.1 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8894, allocations: 1.125 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.8898, allocations: 91.97 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8898, allocations: 1.922 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.8898, allocations: 7.219 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8898, allocations: 0.7188 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8898, allocations: 0.75 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.8911, allocations: 0.6289 MB / 1.352 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.8912, allocations: 99.42 kB / 1.352 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.8912, allocations: 5.766 kB / 1.352 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.8916, allocations: 73.31 kB / 1.352 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.8916, allocations: 5.797 kB / 1.352 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.8916, allocations: 12.02 kB / 1.352 GB, free: 9.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002016/0.8918, allocations: 226.7 kB / 1.353 GB, free: 9.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8918, allocations: 0 / 1.353 GB, free: 9.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003125/0.8922, allocations: 39.08 kB / 1.353 GB, free: 9.688 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001482/0.8936, allocations: 1.167 MB / 1.354 GB, free: 8.926 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.8949, allocations: 0.5352 MB / 1.354 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8949, allocations: 0 / 1.354 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.8955, allocations: 277.2 kB / 1.355 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.8958, allocations: 16.8 kB / 1.355 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.9016, allocations: 3.899 MB / 1.358 GB, free: 6.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.9018, allocations: 0.7498 MB / 1.359 GB, free: 6.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.902, allocations: 52.59 kB / 1.359 GB, free: 6.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.9021, allocations: 82.69 kB / 1.359 GB, free: 6.109 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.9021, allocations: 5.219 kB / 1.359 GB, free: 6.105 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.9262, allocations: 5.15 MB / 1.364 GB, free: 5.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/9.358, allocations: 4.875 kB / 1.364 GB, free: 5.477 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.48187452799175] Failed to read output from testmodel.py, exit status != 0: 9.48601440800121 9.499421439 8.6225968 Calling exit ...