Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001239/0.001239, allocations: 116.1 kB / 17.17 MB, free: 6 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.00124/0.00124, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.363/1.363, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002334/0.002334, allocations: 278.5 kB / 309.8 MB, free: 3.535 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9997/0.9997, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002754/0.002754, allocations: 91.86 kB / 0.7347 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4939, allocations: 95.34 MB / 0.8278 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003258/0.4971, allocations: 2.147 MB / 0.8299 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.4987, allocations: 1.088 MB / 0.8309 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.4988, allocations: 10.75 kB / 0.831 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.4989, allocations: 25.27 kB / 0.831 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.4992, allocations: 89.73 kB / 0.8311 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.4996, allocations: 186.7 kB / 0.8312 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.5, allocations: 296.3 kB / 0.8315 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.5001, allocations: 42.98 kB / 0.8316 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.5003, allocations: 108.3 kB / 0.8317 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.5005, allocations: 149.7 kB / 0.8318 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.5005, allocations: 14.59 kB / 0.8318 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.501, allocations: 299.5 kB / 0.8321 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.501, allocations: 55.11 kB / 0.8322 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.842e-05/0.5011, allocations: 115.3 kB / 0.8323 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.5015, allocations: 330.8 kB / 0.8326 GB, free: 36 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5016, allocations: 4 kB / 0.8326 GB, free: 32 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5016, allocations: 0 / 0.8326 GB, free: 32 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5016, allocations: 0 / 0.8326 GB, free: 32 kB / 0.5762 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.001254/0.5028, allocations: 0.6428 MB / 0.8332 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5029, allocations: 9.594 kB / 0.8332 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.037e-05/0.5029, allocations: 3.25 kB / 0.8332 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.5029, allocations: 49.77 kB / 0.8333 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.5032, allocations: 40.06 kB / 0.8333 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.5036, allocations: 286.5 kB / 0.8336 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.5036, allocations: 14 kB / 0.8336 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.5036, allocations: 19.83 kB / 0.8336 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.5042, allocations: 230.7 kB / 0.8338 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5042, allocations: 0 / 0.8338 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.5042, allocations: 6.656 kB / 0.8338 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5043, allocations: 6.562 kB / 0.8339 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.505, allocations: 198.7 kB / 0.834 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.5063, allocations: 0.9422 MB / 0.835 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.5071, allocations: 239.9 kB / 0.8352 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.5075, allocations: 104.2 kB / 0.8353 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.5075, allocations: 2.5 kB / 0.8353 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5076, allocations: 41.12 kB / 0.8353 GB, free: 14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.5076, allocations: 0 / 0.8353 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001218/0.5088, allocations: 338.1 kB / 0.8357 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.5088, allocations: 77.11 kB / 0.8357 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.5092, allocations: 266.5 kB / 0.836 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.5092, allocations: 33.7 kB / 0.836 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.5093, allocations: 162.6 kB / 0.8362 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.5094, allocations: 56.66 kB / 0.8362 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.5095, allocations: 42.92 kB / 0.8363 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5097, allocations: 337.5 kB / 0.8366 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.51, allocations: 96.42 kB / 0.8367 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.5104, allocations: 139.7 kB / 0.8368 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.5111, allocations: 235 kB / 0.837 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5111, allocations: 1.344 kB / 0.837 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008926/0.512, allocations: 299.7 kB / 0.8373 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.512, allocations: 5.625 kB / 0.8373 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.512, allocations: 2.125 kB / 0.8373 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.512, allocations: 2.922 kB / 0.8373 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.5123, allocations: 60.61 kB / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5123, allocations: 3.062 kB / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.5126, allocations: 47.3 kB / 0.8374 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.5126, allocations: 7.562 kB / 0.8374 GB, free: 12.72 MB / 0.5919 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.0001436/0.5127, allocations: 137.3 kB / 0.8376 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5128, allocations: 32.88 kB / 0.8376 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008595/0.5137, allocations: 292.4 kB / 0.8379 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5137, allocations: 3.062 kB / 0.8379 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5137, allocations: 4.453 kB / 0.8379 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5137, allocations: 1.953 kB / 0.8379 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.5141, allocations: 307.1 kB / 0.8382 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5141, allocations: 0 / 0.8382 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.5144, allocations: 50.67 kB / 0.8382 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5144, allocations: 5.25 kB / 0.8382 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.5144, allocations: 10.5 kB / 0.8383 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5144, allocations: 1.281 kB / 0.8383 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5144, allocations: 3.938 kB / 0.8383 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.5153, allocations: 439 kB / 0.8387 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.5154, allocations: 101 kB / 0.8388 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.5154, allocations: 5.562 kB / 0.8388 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.5157, allocations: 32.61 kB / 0.8388 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.5158, allocations: 18.16 kB / 0.8388 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5158, allocations: 4.125 kB / 0.8388 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002018/0.516, allocations: 191.3 kB / 0.839 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.516, allocations: 0 / 0.839 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000352/0.5163, allocations: 58.17 kB / 0.8391 GB, free: 11.68 MB / 0.5919 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.001295/0.5176, allocations: 0.992 MB / 0.84 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007605/0.5184, allocations: 219.2 kB / 0.8402 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5184, allocations: 320 / 0.8402 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.5188, allocations: 116.5 kB / 0.8404 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.5193, allocations: 80.62 kB / 0.8404 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.5239, allocations: 2.71 MB / 0.8431 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.5244, allocations: 0.7512 MB / 0.8438 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.5246, allocations: 30.36 kB / 0.8438 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5247, allocations: 86.06 kB / 0.8439 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.5247, allocations: 4 kB / 0.8439 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.5504, allocations: 6.645 MB / 0.8504 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.749, allocations: 9.5 kB / 0.8504 GB, free: 6.961 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.438754865026567] Failed to read output from testmodel.py, exit status != 0: 8.871287888032384 8.885414874 8.381182148 Calling exit ...