Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001243/0.001243, allocations: 113.5 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.001329/0.001329, allocations: 221.7 kB / 23.05 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.49 GB / 0.7959 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_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.001966/0.001966, allocations: 64.22 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003426/0.3768, allocations: 2.03 MB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3782, allocations: 0.7558 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3783, allocations: 7.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3784, allocations: 19.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.3785, allocations: 31.72 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.3789, allocations: 91.77 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.3791, allocations: 151.6 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3792, allocations: 65.17 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3794, allocations: 63.72 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3795, allocations: 75.61 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.3796, allocations: 16 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3797, allocations: 83.88 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.3798, allocations: 63.77 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.3799, allocations: 91.41 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.3802, allocations: 278.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3802, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3802, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3803, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 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.000785/0.381, allocations: 482.3 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3811, allocations: 12.03 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.3811, allocations: 8.359 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.3811, allocations: 46.73 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.3829, allocations: 436 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.3833, allocations: 257.7 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3835, allocations: 123.6 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.3835, allocations: 16.12 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008488/0.3843, allocations: 380.1 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3844, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.3844, allocations: 8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3844, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3856, allocations: 0.5504 MB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.3874, allocations: 0.9575 MB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.3881, allocations: 294.2 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.3887, allocations: 268.6 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3887, allocations: 4 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3887, allocations: 38.56 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3887, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001973/0.3907, allocations: 0.7822 MB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3907, allocations: 55.41 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.3911, allocations: 297.9 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3911, allocations: 29.7 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3912, allocations: 148.3 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.3913, allocations: 27.72 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.3914, allocations: 37.67 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3915, allocations: 334.8 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.3921, allocations: 259.7 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.3927, allocations: 264 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3938, allocations: 444.5 kB / 1.337 GB, free: 7.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.3938, allocations: 4 kB / 1.337 GB, free: 7.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001275/0.3951, allocations: 0.5323 MB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3951, allocations: 7.984 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3951, allocations: 0 / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3952, allocations: 3.984 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.3955, allocations: 99.77 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3956, allocations: 0 / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.3959, allocations: 79.83 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3959, allocations: 3.984 kB / 1.337 GB, free: 6.703 MB / 1.029 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.0001634/0.3961, allocations: 147.9 kB / 1.338 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.3961, allocations: 23.86 kB / 1.338 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.3962, allocations: 25.7 kB / 1.338 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3962, allocations: 0 / 1.338 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3962, allocations: 4 kB / 1.338 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3962, allocations: 3.938 kB / 1.338 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3967, allocations: 418.8 kB / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3967, allocations: 0 / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.397, allocations: 91.83 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.397, allocations: 4 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3971, allocations: 11.98 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3971, allocations: 0 / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3971, allocations: 3.984 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3984, allocations: 0.6355 MB / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3984, allocations: 19.86 kB / 1.339 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.3985, allocations: 3.984 kB / 1.339 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.3988, allocations: 71.88 kB / 1.339 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3989, allocations: 11.98 kB / 1.339 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3989, allocations: 3.984 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002399/0.3991, allocations: 221.2 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3991, allocations: 0 / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003011/0.3994, allocations: 43.89 kB / 1.339 GB, free: 4.906 MB / 1.029 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.001702/0.4011, allocations: 1.184 MB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.4024, allocations: 0.5229 MB / 1.341 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4024, allocations: 4 kB / 1.341 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.4031, allocations: 267.7 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.4034, allocations: 19.94 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.4098, allocations: 3.903 MB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4103, allocations: 0.7474 MB / 1.346 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.4105, allocations: 65.41 kB / 1.346 GB, free: 14.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4106, allocations: 79.39 kB / 1.346 GB, free: 13.99 MB / 1.045 GB Notification: Performance of SimCode: time 7.82e-07/0.4106, allocations: 0 / 1.346 GB, free: 13.99 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.4392, allocations: 5.266 MB / 1.351 GB, free: 8.875 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 13.45 kB / 1.351 GB, free: 8.867 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.40488299995195] Failed to read output from testmodel.py, exit status != 0: 11.91104690800421 11.927491351 11.543863474 Calling exit ...