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.001293/0.001293, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.0015/0.0015, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.19/3.19, allocations: 0.5003 GB / 0.8062 GB, free: 28.35 MB / 0.6231 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.001999/0.001999, allocations: 61.67 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004066/0.3191, allocations: 1.956 MB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3205, allocations: 0.6975 MB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3206, allocations: 7.938 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.3207, allocations: 23.78 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.3208, allocations: 27.73 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3212, allocations: 87.83 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3214, allocations: 151.6 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3216, allocations: 65.17 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3217, allocations: 71.66 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3218, allocations: 71.67 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.3219, allocations: 16 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.322, allocations: 67.94 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3221, allocations: 67.75 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.3222, allocations: 79.47 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3226, allocations: 270.8 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3226, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3226, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3226, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 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.0008564/0.3235, allocations: 485 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3235, allocations: 11.97 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.3235, allocations: 8.359 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.3236, allocations: 50.73 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.3255, allocations: 428 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.3259, allocations: 257.7 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.326, allocations: 127.5 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.3261, allocations: 12.12 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.327, allocations: 387.2 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.327, allocations: 0 / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.327, allocations: 8 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.327, allocations: 4 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3283, allocations: 0.5349 MB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.3301, allocations: 0.9298 MB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.3309, allocations: 286.3 kB / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.3315, allocations: 272.6 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3315, allocations: 0 / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3315, allocations: 30.56 kB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3315, allocations: 0 / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.002083/0.3336, allocations: 0.7898 MB / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3337, allocations: 51.41 kB / 1.353 GB, free: 7.512 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.334, allocations: 301.9 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3341, allocations: 25.7 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3342, allocations: 160.3 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.3342, allocations: 27.78 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3343, allocations: 33.69 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3345, allocations: 334.8 kB / 1.354 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.3351, allocations: 259.8 kB / 1.354 GB, free: 6.355 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.3357, allocations: 259.7 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3368, allocations: 444.4 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3368, allocations: 0 / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001322/0.3382, allocations: 0.5362 MB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3382, allocations: 4 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3382, allocations: 3.938 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3382, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.3386, allocations: 95.83 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3386, allocations: 0 / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.339, allocations: 79.86 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.339, allocations: 11.92 kB / 1.356 GB, free: 4.93 MB / 1.045 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.0001742/0.3392, allocations: 145.8 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.3392, allocations: 23.8 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.3393, allocations: 25.7 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3393, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3393, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3393, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3398, allocations: 375.3 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3398, allocations: 4 kB / 1.356 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3402, allocations: 95.83 kB / 1.356 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3402, allocations: 0 / 1.356 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3402, allocations: 7.984 kB / 1.356 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3402, allocations: 0 / 1.356 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3402, allocations: 0.5469 kB / 1.356 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.3416, allocations: 0.6317 MB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.3416, allocations: 27.78 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.3417, allocations: 4 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.342, allocations: 79.8 kB / 1.357 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.3421, allocations: 11.97 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3421, allocations: 11.97 kB / 1.357 GB, free: 3.438 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002217/0.3424, allocations: 213.2 kB / 1.357 GB, free: 3.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3424, allocations: 0 / 1.357 GB, free: 3.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003163/0.3427, allocations: 43.95 kB / 1.357 GB, free: 3.188 MB / 1.045 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.001779/0.3445, allocations: 1.169 MB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.3458, allocations: 0.5268 MB / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3458, allocations: 0 / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.3465, allocations: 275.7 kB / 1.359 GB, free: 1.195 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3468, allocations: 13.62 kB / 1.359 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006615/0.3534, allocations: 3.9 MB / 1.363 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.3536, allocations: 140.6 kB / 1.363 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.3538, allocations: 57.42 kB / 1.363 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.354, allocations: 83.38 kB / 1.363 GB, free: 12.91 MB / 1.061 GB Notification: Performance of SimCode: time 8.21e-07/0.354, allocations: 0 / 1.363 GB, free: 12.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3817, allocations: 5.445 MB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 5.312 kB / 1.369 GB, free: 7.641 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.430712910951115] Failed to read output from testmodel.py, exit status != 0: 11.976643641013652 12.001419679 11.67420565 Calling exit ...