Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 117 kB / 17.16 MB, free: 5.906 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.001557/0.001557, allocations: 215 kB / 20.13 MB, free: 2.961 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.43/1.43, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.874/2.874, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_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.001904/0.001904, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9415/0.9434, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002557/0.946, allocations: 2.008 MB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.947, allocations: 0.7533 MB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.9471, allocations: 3 kB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.9473, allocations: 19.17 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.9473, allocations: 28.95 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.9476, allocations: 91.64 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.9478, allocations: 158.8 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.9479, allocations: 66.73 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.9481, allocations: 68.8 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.9482, allocations: 70.3 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.9482, allocations: 14.91 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.9483, allocations: 65.83 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.9484, allocations: 78.95 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.9484, allocations: 92.2 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.9487, allocations: 273.3 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.9487, allocations: 0 / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9487, allocations: 3.125 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.9487, allocations: 7.938 kB / 1.325 GB, free: 22.31 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.0006676/0.9494, allocations: 0.544 MB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.9494, allocations: 12.02 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.315e-05/0.9494, allocations: 3.391 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.9495, allocations: 47.2 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.9511, allocations: 435 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.9514, allocations: 317.2 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.9515, allocations: 67.02 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.9515, allocations: 19.75 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.9522, allocations: 378.1 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9522, allocations: 4 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.9523, allocations: 4.969 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.9523, allocations: 7.562 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.9536, allocations: 0.5352 MB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.9554, allocations: 1.007 MB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.9561, allocations: 289.8 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.9568, allocations: 268.3 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.9569, allocations: 2 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.9569, allocations: 35.44 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.9569, allocations: 0 / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.002113/0.959, allocations: 0.7856 MB / 1.33 GB, free: 20.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.959, allocations: 52.5 kB / 1.33 GB, free: 20.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.9594, allocations: 299.4 kB / 1.33 GB, free: 20.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.9594, allocations: 26.89 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.9595, allocations: 158.1 kB / 1.33 GB, free: 19.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.9595, allocations: 36.48 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.9596, allocations: 35.94 kB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.9597, allocations: 335.3 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.9603, allocations: 264.5 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.9609, allocations: 255.9 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.9621, allocations: 450.6 kB / 1.332 GB, free: 19.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9621, allocations: 0 / 1.332 GB, free: 19.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001337/0.9634, allocations: 0.5234 MB / 1.332 GB, free: 19.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9634, allocations: 8.812 kB / 1.332 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9634, allocations: 6.125 kB / 1.332 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9634, allocations: 0.75 kB / 1.332 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.9639, allocations: 87.75 kB / 1.332 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.9639, allocations: 4.938 kB / 1.332 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.9642, allocations: 73.3 kB / 1.332 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.9642, allocations: 13.22 kB / 1.332 GB, free: 19.2 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.0001517/0.9644, allocations: 146.7 kB / 1.332 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.9645, allocations: 21.52 kB / 1.332 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.9645, allocations: 24.8 kB / 1.332 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9645, allocations: 2.5 kB / 1.333 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.9645, allocations: 0 / 1.333 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9645, allocations: 0.7031 kB / 1.333 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.9651, allocations: 444.8 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9651, allocations: 0.5 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.9655, allocations: 92.92 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9655, allocations: 1.109 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.9656, allocations: 7.594 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9656, allocations: 0.5625 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9656, allocations: 0 / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.9671, allocations: 0.6342 MB / 1.334 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.9671, allocations: 102.8 kB / 1.334 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.9671, allocations: 1.875 kB / 1.334 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.9675, allocations: 76.97 kB / 1.334 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.9676, allocations: 5.484 kB / 1.334 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.9676, allocations: 12.97 kB / 1.334 GB, free: 18.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002196/0.9678, allocations: 221.6 kB / 1.334 GB, free: 18.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9678, allocations: 1.375 kB / 1.334 GB, free: 18.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003246/0.9681, allocations: 40.31 kB / 1.334 GB, free: 18.26 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.001486/0.9696, allocations: 1.189 MB / 1.335 GB, free: 17.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.9709, allocations: 0.519 MB / 1.336 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9709, allocations: 0 / 1.336 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.9715, allocations: 281.2 kB / 1.336 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.9718, allocations: 15.33 kB / 1.336 GB, free: 17.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.9777, allocations: 3.898 MB / 1.34 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.9779, allocations: 0.7496 MB / 1.341 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.9781, allocations: 53.67 kB / 1.341 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.9783, allocations: 82.23 kB / 1.341 GB, free: 14.68 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/0.9783, allocations: 4 kB / 1.341 GB, free: 14.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/1.004, allocations: 5.148 MB / 1.346 GB, free: 14.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/9.639, allocations: 15.23 kB / 1.346 GB, free: 14.06 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.70635161100654] Failed to read output from testmodel.py, exit status != 0: 9.761927266023122 9.775491009 8.824243995 Calling exit ...