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.001675/0.001675, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002066/0.002066, allocations: 219.8 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.867/2.867, allocations: 476.7 MB / 0.7715 GB, free: 4.297 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.002003/0.002003, allocations: 65.45 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003279/0.3064, allocations: 2.027 MB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3077, allocations: 0.7558 MB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.3078, allocations: 3.938 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3079, allocations: 27.73 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.308, allocations: 19.73 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3083, allocations: 99.77 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3085, allocations: 143.7 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3087, allocations: 74.52 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3088, allocations: 75.66 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3089, allocations: 71.67 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.309, allocations: 16 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3091, allocations: 67.88 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.3092, allocations: 75.75 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.3093, allocations: 91.34 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.3097, allocations: 270.8 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3097, allocations: 4 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3097, allocations: 0 / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3097, allocations: 0 / 1.288 GB, free: 7.824 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.0008083/0.3105, allocations: 485 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3105, allocations: 12.03 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.3106, allocations: 4.422 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3106, allocations: 42.73 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.3125, allocations: 440 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.3129, allocations: 261.6 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3131, allocations: 127.5 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.3131, allocations: 16.12 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.314, allocations: 379.2 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.314, allocations: 0 / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.314, allocations: 4 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.314, allocations: 8 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3154, allocations: 0.5504 MB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3172, allocations: 0.969 MB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.3179, allocations: 290.2 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.3186, allocations: 272.6 kB / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3186, allocations: 4.141 kB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3186, allocations: 30.56 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3186, allocations: 0 / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0021/0.3207, allocations: 0.786 MB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3208, allocations: 51.41 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3211, allocations: 305.8 kB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.3211, allocations: 25.7 kB / 1.293 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3213, allocations: 152.2 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3213, allocations: 19.86 kB / 1.293 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.3214, allocations: 45.66 kB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3216, allocations: 342.7 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.3222, allocations: 255.8 kB / 1.294 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.3229, allocations: 259.8 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3241, allocations: 436.4 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3241, allocations: 3.984 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001392/0.3255, allocations: 0.5249 MB / 1.295 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3255, allocations: 8 kB / 1.295 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3255, allocations: 4.078 kB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3255, allocations: 0 / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.326, allocations: 95.77 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.326, allocations: 3.984 kB / 1.295 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.3263, allocations: 79.77 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.3264, allocations: 11.97 kB / 1.295 GB, free: 404 kB / 0.9825 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.0001644/0.3265, allocations: 141.8 kB / 1.295 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.3266, allocations: 23.86 kB / 1.295 GB, free: 228 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.3266, allocations: 25.7 kB / 1.295 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3266, allocations: 4 kB / 1.295 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3267, allocations: 0 / 1.295 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3267, allocations: 3.984 kB / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.3272, allocations: 407.3 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3272, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.3276, allocations: 95.83 kB / 1.296 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3276, allocations: 7.938 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3276, allocations: 7.969 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3276, allocations: 0 / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3276, allocations: 4 kB / 1.296 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.329, allocations: 0.6277 MB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.3291, allocations: 27.84 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3291, allocations: 0 / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.3295, allocations: 79.81 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.3295, allocations: 7.984 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3296, allocations: 7.984 kB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002229/0.3298, allocations: 221.2 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 4 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003121/0.3301, allocations: 43.89 kB / 1.297 GB, free: 14.61 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.00175/0.3318, allocations: 1.173 MB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.3332, allocations: 0.5268 MB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3332, allocations: 0 / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.3339, allocations: 275.7 kB / 1.299 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3342, allocations: 22.41 kB / 1.299 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.3412, allocations: 3.897 MB / 1.302 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3416, allocations: 0.7513 MB / 1.303 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.3418, allocations: 53.42 kB / 1.303 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.3419, allocations: 83.38 kB / 1.303 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/0.3419, allocations: 0 / 1.303 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3687, allocations: 5.267 MB / 1.308 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.25, allocations: 8.734 kB / 1.308 GB, free: 2.586 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.006702162034344] Failed to read output from testmodel.py, exit status != 0: 12.969258179015014 12.468305958 12.15336966 Calling exit ...