Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001709/0.001709, allocations: 97.92 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.002325/0.002325, allocations: 219.9 kB / 23.03 MB, free: 4.953 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001943/0.001943, allocations: 69.23 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3864, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004446/0.3909, allocations: 2.068 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3931, allocations: 1.02 MB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.3934, allocations: 3.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.248e-05/0.3935, allocations: 27.66 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.3939, allocations: 79.28 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.3946, allocations: 196.9 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.3951, allocations: 302.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.3953, allocations: 48.84 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3956, allocations: 107.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.3959, allocations: 143.3 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.396, allocations: 20 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.3965, allocations: 303.6 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.3965, allocations: 39.84 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3967, allocations: 99.44 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.3972, allocations: 342.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3972, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.118e-06/0.3972, allocations: 3.984 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.3972, allocations: 0 / 1.331 GB, free: 12.66 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001248/0.3984, allocations: 0.5632 MB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3985, allocations: 8.031 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.3985, allocations: 4.469 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.3986, allocations: 46.73 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.3988, allocations: 36.75 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.3993, allocations: 225.4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3993, allocations: 12.66 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.3993, allocations: 12.38 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.3999, allocations: 244.5 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3999, allocations: 3.938 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.4006, allocations: 195.8 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.4019, allocations: 0.8751 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/0.4027, allocations: 233.1 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.4031, allocations: 101.6 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.4031, allocations: 0 / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4031, allocations: 38.56 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.4031, allocations: 4 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001184/0.4043, allocations: 342 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.4044, allocations: 81.11 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.4047, allocations: 264.2 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4047, allocations: 29.7 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4048, allocations: 164.3 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.4049, allocations: 55.53 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.405, allocations: 37.7 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4052, allocations: 338.8 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.4055, allocations: 91.91 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.4058, allocations: 143.9 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.4065, allocations: 245.8 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4065, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008481/0.4074, allocations: 297.1 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4074, allocations: 4 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.4074, allocations: 7.938 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4074, allocations: 96 / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.4077, allocations: 68.03 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4077, allocations: 4 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.408, allocations: 35.86 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.408, allocations: 11.94 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001426/0.4081, allocations: 134.2 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4083, allocations: 31.8 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.4091, allocations: 291.1 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4091, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4091, allocations: 3.938 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.4091, allocations: 7.984 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.4095, allocations: 240.5 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4095, allocations: 4 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.4098, allocations: 55.89 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.4098, allocations: 4 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4098, allocations: 0 / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4098, allocations: 0 / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4098, allocations: 0 / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.4107, allocations: 456 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.4108, allocations: 23.8 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.4108, allocations: 8 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.4111, allocations: 27.95 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.4111, allocations: 19.97 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4112, allocations: 8 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001975/0.4114, allocations: 187.1 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4114, allocations: 0 / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003741/0.4117, allocations: 63.89 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001313/0.413, allocations: 0.9965 MB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007751/0.4138, allocations: 219.9 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4138, allocations: 0 / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.4142, allocations: 111.8 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.4148, allocations: 78.41 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.4195, allocations: 2.705 MB / 1.341 GB, free: 1.734 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.4197, allocations: 142.9 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000174/0.4198, allocations: 26.3 kB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.42, allocations: 87.41 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of SimCode: time 2.204e-06/0.42, allocations: 0 / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.4509, allocations: 7.222 MB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.86, allocations: 16.94 kB / 1.349 GB, free: 10.51 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.766346331918612] Failed to read output from testmodel.py, exit status != 0: 12.014723607921042 12.030595505 11.630230996 Calling exit ...