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.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.001626/0.001626, allocations: 116.8 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.001631/0.001631, allocations: 209.6 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_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.002182/0.002182, allocations: 59.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9522, allocations: 169.9 MB / 1.279 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004466/0.9566, allocations: 2.017 MB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.9583, allocations: 0.7553 MB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.9585, allocations: 2.156 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.9586, allocations: 26.2 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.9587, allocations: 26.5 kB / 1.282 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.9592, allocations: 93.16 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.9595, allocations: 154 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.9597, allocations: 65.52 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.9599, allocations: 72.59 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.9601, allocations: 75.19 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.9601, allocations: 14.47 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.9604, allocations: 64.03 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.9605, allocations: 72.16 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.9607, allocations: 96.02 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.9612, allocations: 269.9 kB / 1.283 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9612, allocations: 2.188 kB / 1.283 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.9612, allocations: 0 / 1.283 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.9612, allocations: 0 / 1.283 GB, free: 9.254 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.001083/0.9623, allocations: 0.5472 MB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9623, allocations: 13.47 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/0.9623, allocations: 4.609 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.9624, allocations: 45.22 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.9643, allocations: 435.9 kB / 1.284 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.9649, allocations: 325 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.965, allocations: 69.94 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.965, allocations: 14.97 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.966, allocations: 382.5 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.966, allocations: 1.312 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.966, allocations: 4 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.966, allocations: 4.062 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.9675, allocations: 0.5422 MB / 1.285 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.9698, allocations: 1.002 MB / 1.286 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.9706, allocations: 285.8 kB / 1.286 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.9713, allocations: 272.5 kB / 1.286 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.9714, allocations: 1.5 kB / 1.286 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.9714, allocations: 36.56 kB / 1.287 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.9714, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.00222/0.9736, allocations: 0.7805 MB / 1.287 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.9737, allocations: 52.69 kB / 1.287 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.9741, allocations: 304 kB / 1.288 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.9741, allocations: 26.83 kB / 1.288 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.9742, allocations: 149.9 kB / 1.288 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.9743, allocations: 28.7 kB / 1.288 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.9744, allocations: 44.14 kB / 1.288 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9746, allocations: 339.2 kB / 1.288 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006907/0.9753, allocations: 255.9 kB / 1.288 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.976, allocations: 260.4 kB / 1.289 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.9772, allocations: 437.2 kB / 1.289 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9772, allocations: 1.5 kB / 1.289 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001422/0.9787, allocations: 0.5348 MB / 1.29 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9787, allocations: 4.656 kB / 1.29 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9787, allocations: 4.969 kB / 1.29 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.9787, allocations: 4.797 kB / 1.29 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.9791, allocations: 88.55 kB / 1.29 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.9791, allocations: 2.016 kB / 1.29 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.9795, allocations: 77.33 kB / 1.29 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.9795, allocations: 7.625 kB / 1.29 GB, free: 6.148 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.000208/0.9797, allocations: 148 kB / 1.29 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.9798, allocations: 21.08 kB / 1.29 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.9799, allocations: 29.52 kB / 1.29 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9799, allocations: 1.438 kB / 1.29 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9799, allocations: 4 kB / 1.29 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9799, allocations: 2.141 kB / 1.29 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.9805, allocations: 445 kB / 1.29 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9805, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.9809, allocations: 97.25 kB / 1.29 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.9809, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.9809, allocations: 7.375 kB / 1.291 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9809, allocations: 2.062 kB / 1.291 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9809, allocations: 0 / 1.291 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.9825, allocations: 0.6406 MB / 1.291 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.9826, allocations: 99.94 kB / 1.291 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.9826, allocations: 1.188 kB / 1.291 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.983, allocations: 76.67 kB / 1.291 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.9831, allocations: 6.109 kB / 1.291 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.9831, allocations: 8.891 kB / 1.291 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003091/0.9834, allocations: 218.2 kB / 1.292 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9834, allocations: 0 / 1.292 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003661/0.9838, allocations: 49.59 kB / 1.292 GB, free: 5.191 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.00194/0.9857, allocations: 1.181 MB / 1.293 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.9872, allocations: 0.5224 MB / 1.293 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9872, allocations: 0 / 1.293 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.9879, allocations: 277.3 kB / 1.293 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.9882, allocations: 25 kB / 1.294 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008087/0.9963, allocations: 3.888 MB / 1.297 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.9968, allocations: 0.7504 MB / 1.298 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.997, allocations: 53.91 kB / 1.298 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.9972, allocations: 82.02 kB / 1.298 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.9972, allocations: 0 / 1.298 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/1.024, allocations: 5.163 MB / 1.303 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/9.69, allocations: 11.86 kB / 1.303 GB, free: 0.9844 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.083457344037015] Failed to read output from testmodel.py, exit status != 0: 9.824155459005851 9.845419428 8.880372228 Calling exit ...