Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007999/0.0007999, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0008624/0.0008624, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8937/0.8937, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5317/0.5317, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.389e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002042/0.002055, allocations: 2.036 MB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003219, allocations: 1.005 MB / 0.5572 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.003313, allocations: 7.938 kB / 0.5572 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.003356, allocations: 27.67 kB / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.003609, allocations: 83.22 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.003936, allocations: 199.4 kB / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.00417, allocations: 306.6 kB / 0.5578 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.004296, allocations: 40.89 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.004423, allocations: 147.7 kB / 0.5579 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.00457, allocations: 115.6 kB / 0.5581 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.004598, allocations: 20 kB / 0.5581 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.004866, allocations: 283.6 kB / 0.5583 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.0049, allocations: 47.75 kB / 0.5584 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.004955, allocations: 79.78 kB / 0.5585 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.005266, allocations: 362.8 kB / 0.5588 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005268, allocations: 0 / 0.5588 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005269, allocations: 0 / 0.5588 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.005273, allocations: 0 / 0.5588 GB, free: 14.04 MB / 0.5261 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.0006655/0.005938, allocations: 0.5592 MB / 0.5594 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.005976, allocations: 8.625 kB / 0.5594 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.006014, allocations: 50.73 kB / 0.5594 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.006135, allocations: 40.69 kB / 0.5595 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.006393, allocations: 224.7 kB / 0.5597 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.006406, allocations: 16.64 kB / 0.5597 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.006422, allocations: 12.38 kB / 0.5597 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.006735, allocations: 232.5 kB / 0.5599 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.006743, allocations: 0 / 0.5599 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.006757, allocations: 4 kB / 0.5599 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006763, allocations: 8 kB / 0.5599 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.007101, allocations: 199.7 kB / 0.5601 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.007812, allocations: 0.879 MB / 0.561 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.00824, allocations: 241.1 kB / 0.5612 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.008404, allocations: 93.64 kB / 0.5613 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.008425, allocations: 7.938 kB / 0.5613 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.008442, allocations: 34.56 kB / 0.5613 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.008443, allocations: 4 kB / 0.5613 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0006173/0.00906, allocations: 337.5 kB / 0.5617 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.009094, allocations: 77.11 kB / 0.5617 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.009272, allocations: 276.1 kB / 0.562 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.009287, allocations: 29.7 kB / 0.562 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.009369, allocations: 164.3 kB / 0.5622 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.009396, allocations: 55.53 kB / 0.5622 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.009443, allocations: 37.7 kB / 0.5623 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.009528, allocations: 338.8 kB / 0.5626 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.009688, allocations: 83.92 kB / 0.5627 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.009867, allocations: 149.8 kB / 0.5628 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.0102, allocations: 246.3 kB / 0.5631 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01021, allocations: 0 / 0.5631 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004281/0.01064, allocations: 297.1 kB / 0.5633 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.01065, allocations: 8 kB / 0.5633 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01065, allocations: 0 / 0.5633 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01066, allocations: 4 kB / 0.5633 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.0108, allocations: 59.89 kB / 0.5634 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.0108, allocations: 4.109 kB / 0.5634 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.01091, allocations: 43.86 kB / 0.5635 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01092, allocations: 11.94 kB / 0.5635 GB, free: 8.977 MB / 0.5261 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 7.79e-05/0.011, allocations: 133.9 kB / 0.5636 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.01106, allocations: 35.69 kB / 0.5636 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.01148, allocations: 287.3 kB / 0.5639 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01149, allocations: 4 kB / 0.5639 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01149, allocations: 0 / 0.5639 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01149, allocations: 3.984 kB / 0.5639 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.01172, allocations: 240.5 kB / 0.5641 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01173, allocations: 3.938 kB / 0.5641 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.01184, allocations: 59.95 kB / 0.5642 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01184, allocations: 0 / 0.5642 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01185, allocations: 4 kB / 0.5642 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01186, allocations: 0 / 0.5642 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01186, allocations: 0 / 0.5642 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.0123, allocations: 450.3 kB / 0.5646 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.01232, allocations: 27.8 kB / 0.5647 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.01234, allocations: 4 kB / 0.5647 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01246, allocations: 23.97 kB / 0.5647 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.01252, allocations: 23.95 kB / 0.5647 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01252, allocations: 4 kB / 0.5647 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001103/0.01263, allocations: 195.1 kB / 0.5649 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01263, allocations: 0 / 0.5649 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002333/0.01287, allocations: 63.89 kB / 0.565 GB, free: 7.367 MB / 0.5261 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.0006653/0.01353, allocations: 0.9828 MB / 0.5659 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.01394, allocations: 223.8 kB / 0.5661 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01394, allocations: 320 / 0.5661 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.01412, allocations: 119.8 kB / 0.5662 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.01448, allocations: 75.62 kB / 0.5663 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.01692, allocations: 2.706 MB / 0.569 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.447e-05/0.017, allocations: 146.9 kB / 0.5691 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.861e-05/0.0171, allocations: 34.28 kB / 0.5691 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.0172, allocations: 84.47 kB / 0.5692 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.0172, allocations: 0 / 0.5692 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.03597, allocations: 7.681 MB / 0.5767 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.043, allocations: 10.58 kB / 0.5767 GB, free: 11.41 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.43557473551482] Failed to read output from testmodel.py, exit status != 0: 7.127690388821065 7.136263614 7.12929846 Calling exit ...