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.001167/0.001167, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001537/0.001537, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.325/1.325, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 179] 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.903/2.903, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.001832/0.001832, allocations: 67.41 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3083, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00326/0.3116, allocations: 2.023 MB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3129, allocations: 0.748 MB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.313, allocations: 7.938 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.3131, allocations: 19.8 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.3132, allocations: 31.72 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.3136, allocations: 91.77 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3138, allocations: 147.6 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3139, allocations: 69.17 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3141, allocations: 67.72 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3142, allocations: 75.61 kB / 1.349 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3142, allocations: 16 kB / 1.349 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3143, allocations: 63.95 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.3144, allocations: 79.67 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.3145, allocations: 87.42 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.3148, allocations: 262.9 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3148, allocations: 3.938 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3148, allocations: 0 / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3148, allocations: 0 / 1.349 GB, free: 12.66 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.000737/0.3156, allocations: 496.9 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3156, allocations: 8.031 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.3156, allocations: 4.422 kB / 1.35 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.3157, allocations: 46.75 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.3174, allocations: 428 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.3178, allocations: 265.6 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3179, allocations: 123.6 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.318, allocations: 12.12 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/0.3188, allocations: 384.3 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3188, allocations: 0 / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3188, allocations: 8 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3188, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3201, allocations: 0.5388 MB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3217, allocations: 0.9726 MB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/0.3224, allocations: 290.3 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.323, allocations: 268.6 kB / 1.353 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.323, allocations: 4 kB / 1.353 GB, free: 8.711 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.323, allocations: 38.5 kB / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.323, allocations: 0 / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.001896/0.3249, allocations: 0.7859 MB / 1.354 GB, free: 7.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.325, allocations: 51.41 kB / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3253, allocations: 301.9 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3253, allocations: 25.7 kB / 1.354 GB, free: 7.469 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3254, allocations: 164.3 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3254, allocations: 19.8 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.3255, allocations: 37.67 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3257, allocations: 334.8 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.3263, allocations: 259.8 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.3269, allocations: 255.8 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3279, allocations: 448.3 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3279, allocations: 0 / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001264/0.3292, allocations: 0.5405 MB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3292, allocations: 4 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3292, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3292, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.3296, allocations: 95.83 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3296, allocations: 4.062 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.3299, allocations: 75.86 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3299, allocations: 7.984 kB / 1.356 GB, free: 5.23 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.0001471/0.3301, allocations: 145.7 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.3301, allocations: 23.86 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.3302, allocations: 25.7 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3302, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3302, allocations: 4 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3302, allocations: 0 / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.3307, allocations: 415.2 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3307, allocations: 0 / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.331, allocations: 95.77 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.331, allocations: 7.984 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.331, allocations: 7.984 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.331, allocations: 4 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3311, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3323, allocations: 0.6316 MB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.3324, allocations: 31.78 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.3324, allocations: 0 / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.3327, allocations: 75.86 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.3328, allocations: 8 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3328, allocations: 7.969 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000206/0.333, allocations: 217.2 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002828/0.3333, allocations: 35.95 kB / 1.358 GB, free: 3.453 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.001585/0.3349, allocations: 1.18 MB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.3361, allocations: 0.519 MB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3361, allocations: 0 / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.3367, allocations: 279.7 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.337, allocations: 16.5 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/0.343, allocations: 3.897 MB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3434, allocations: 0.7474 MB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.3435, allocations: 57.42 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3437, allocations: 83.38 kB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3437, allocations: 0 / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.3692, allocations: 5.254 MB / 1.369 GB, free: 7.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.59, allocations: 7.938 kB / 1.369 GB, free: 7.441 MB / 1.061 GB " [Timeout remaining time 289] (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: 16.66799181496026] Failed to read output from testmodel.py, exit status != 0: 10.742021696001757 10.756717676 10.439011645 Calling exit ...