Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9693/0.9714, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003711/0.9751, allocations: 2.009 MB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.9765, allocations: 0.7059 MB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.9766, allocations: 2.406 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.9768, allocations: 21.92 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.9769, allocations: 23.81 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.9772, allocations: 83.41 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.9774, allocations: 145.4 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.9776, allocations: 65.89 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.9777, allocations: 66.73 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.9779, allocations: 68.44 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.9779, allocations: 14.72 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.9781, allocations: 71.98 kB / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.9782, allocations: 71.64 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.9783, allocations: 93.17 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.9786, allocations: 271.2 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9786, allocations: 0 / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9786, allocations: 0 / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.9786, allocations: 0 / 1.275 GB, free: 5.355 MB / 0.9981 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.0008479/0.9795, allocations: 0.5432 MB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.9795, allocations: 9.344 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.9796, allocations: 45.11 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.9814, allocations: 424.6 kB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.9818, allocations: 323.8 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.9819, allocations: 68 kB / 1.277 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.9819, allocations: 11.88 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008915/0.9828, allocations: 383.3 kB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9828, allocations: 0 / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.9828, allocations: 5.688 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9829, allocations: 2.625 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.9842, allocations: 0.5416 MB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.9864, allocations: 1.003 MB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.9872, allocations: 289.4 kB / 1.279 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.988, allocations: 273.3 kB / 1.279 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.988, allocations: 4.875 kB / 1.279 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.9881, allocations: 31.72 kB / 1.279 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.9881, allocations: 0 / 1.279 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.002477/0.9905, allocations: 0.7856 MB / 1.28 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.9906, allocations: 55.56 kB / 1.28 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.991, allocations: 295 kB / 1.28 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.991, allocations: 26.27 kB / 1.28 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9912, allocations: 158.5 kB / 1.28 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.9912, allocations: 22.16 kB / 1.28 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.9913, allocations: 38.02 kB / 1.28 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.9914, allocations: 335.7 kB / 1.281 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.9921, allocations: 264.1 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.9927, allocations: 255.8 kB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.9937, allocations: 442.3 kB / 1.282 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9937, allocations: 5.094 kB / 1.282 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001271/0.995, allocations: 0.5381 MB / 1.282 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.995, allocations: 8.438 kB / 1.282 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.995, allocations: 0 / 1.282 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.995, allocations: 0.9062 kB / 1.282 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.9954, allocations: 96.66 kB / 1.282 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9955, allocations: 1.469 kB / 1.282 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.9958, allocations: 73.05 kB / 1.282 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.9958, allocations: 8.344 kB / 1.282 GB, free: 2.258 MB / 0.9981 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.0001244/0.9959, allocations: 143.9 kB / 1.282 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.996, allocations: 22.14 kB / 1.282 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.996, allocations: 25.66 kB / 1.282 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.996, allocations: 0 / 1.282 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.996, allocations: 4 kB / 1.282 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.996, allocations: 0.7031 kB / 1.282 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.9965, allocations: 440.9 kB / 1.283 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9965, allocations: 4.594 kB / 1.283 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.9969, allocations: 101.1 kB / 1.283 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.9969, allocations: 1.594 kB / 1.283 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.9969, allocations: 6.5 kB / 1.283 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9969, allocations: 0.9688 kB / 1.283 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9969, allocations: 0 / 1.283 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.9982, allocations: 0.6329 MB / 1.284 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.9983, allocations: 99.73 kB / 1.284 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.9983, allocations: 1.125 kB / 1.284 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.9986, allocations: 79.34 kB / 1.284 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.9987, allocations: 4.594 kB / 1.284 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.9987, allocations: 7.938 kB / 1.284 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001951/0.9989, allocations: 217 kB / 1.284 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9989, allocations: 2.844 kB / 1.284 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000314/0.9992, allocations: 41.98 kB / 1.284 GB, free: 1.312 MB / 0.9981 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.001596/1.001, allocations: 1.183 MB / 1.285 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.002, allocations: 0.517 MB / 1.286 GB, free: 452 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.002, allocations: 7.938 kB / 1.286 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006512/1.003, allocations: 277.4 kB / 1.286 GB, free: 388 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.003, allocations: 13.06 kB / 1.286 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/1.01, allocations: 3.9 MB / 1.29 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.01, allocations: 0.7493 MB / 1.291 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001988/1.01, allocations: 61.06 kB / 1.291 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.01, allocations: 83.44 kB / 1.291 GB, free: 13.71 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.01, allocations: 0 / 1.291 GB, free: 13.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/1.039, allocations: 5.063 MB / 1.296 GB, free: 13.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/10.06, allocations: 11.52 kB / 1.296 GB, free: 13.08 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.77474145698943] Failed to read output from testmodel.py, exit status != 0: 10.604157918016426 10.621738074 9.639579581 Calling exit ...