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.00184/0.00184, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002311/0.002311, allocations: 216.4 kB / 23.03 MB, free: 4.949 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.844/2.844, allocations: 476.8 MB / 0.7715 GB, free: 3.934 MB / 0.6231 GB " [Timeout remaining time 177] 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.002009/0.002009, allocations: 60.16 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3176, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003888/0.3214, allocations: 1.949 MB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3229, allocations: 0.7052 MB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.3231, allocations: 3.938 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3232, allocations: 23.8 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3233, allocations: 23.73 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.3238, allocations: 103.8 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.324, allocations: 151.6 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3242, allocations: 68.41 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3243, allocations: 71.75 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3244, allocations: 71.58 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3245, allocations: 16 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3246, allocations: 67.94 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3247, allocations: 71.73 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.3248, allocations: 71.53 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.3253, allocations: 274.8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.3253, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3253, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.3253, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 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.0009702/0.3263, allocations: 481 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3263, allocations: 12.03 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.622e-05/0.3263, allocations: 432 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.3264, allocations: 46.73 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.3284, allocations: 440 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.3289, allocations: 261.6 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.329, allocations: 123.6 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.329, allocations: 16.12 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.33, allocations: 379.2 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.33, allocations: 3.938 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.33, allocations: 8 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.33, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.3314, allocations: 0.5466 MB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.3332, allocations: 0.9145 MB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.334, allocations: 302.2 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.3347, allocations: 260.6 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3347, allocations: 8 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.3347, allocations: 38.56 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.3347, allocations: 0 / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002133/0.3369, allocations: 0.782 MB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3369, allocations: 63.34 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.3373, allocations: 297.8 kB / 1.292 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3373, allocations: 33.7 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3375, allocations: 156.4 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.3375, allocations: 19.86 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.3376, allocations: 33.67 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3378, allocations: 338.8 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.3384, allocations: 259.8 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.339, allocations: 259.8 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.3402, allocations: 436.9 kB / 1.294 GB, free: 384 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3402, allocations: 3.984 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001405/0.3416, allocations: 0.5361 MB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3416, allocations: 8 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3416, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3416, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.342, allocations: 91.83 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.342, allocations: 0 / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.3424, allocations: 79.77 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3424, allocations: 11.97 kB / 1.295 GB, free: 15.64 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.0001765/0.3426, allocations: 145.8 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.3426, allocations: 19.86 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.3427, allocations: 29.7 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3427, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3427, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3427, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3432, allocations: 375.4 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3432, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3436, allocations: 99.7 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3436, allocations: 4 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3436, allocations: 3.984 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3436, allocations: 0 / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3436, allocations: 4 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.345, allocations: 0.6317 MB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.3451, allocations: 19.86 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3451, allocations: 4 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3455, allocations: 75.86 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3455, allocations: 11.92 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3456, allocations: 3.984 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002373/0.3458, allocations: 225.2 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3458, allocations: 0 / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000317/0.3461, allocations: 39.89 kB / 1.296 GB, free: 13.9 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.001965/0.3481, allocations: 1.177 MB / 1.297 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.3495, allocations: 0.5229 MB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3495, allocations: 0 / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.3501, allocations: 275.7 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3505, allocations: 17.73 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.3574, allocations: 3.902 MB / 1.302 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.3576, allocations: 144.6 kB / 1.302 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.3578, allocations: 53.42 kB / 1.302 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.358, allocations: 83.38 kB / 1.302 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.358, allocations: 0 / 1.302 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3864, allocations: 5.454 MB / 1.308 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 0 / 1.308 GB, free: 2.344 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.77619748201687] Failed to read output from testmodel.py, exit status != 0: 12.694134625955485 12.211592701 11.88051624 Calling exit ...