Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.684/2.684, allocations: 284.7 MB / 297.2 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 184.7 kB / 365.6 MB, free: 2.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.1 MB / 0.624 GB, free: 8.312 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 102.1 kB / 0.7371 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.73e-05/4.749e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8934, allocations: 115.2 MB / 0.97 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.249/1.142, allocations: 140.2 MB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/1.143, allocations: 85.2 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03785/1.181, allocations: 7.532 MB / 1.114 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/1.181, allocations: 3.938 kB / 1.114 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.494e-05/1.181, allocations: 8 kB / 1.114 GB, free: 4.699 MB / 0.7136 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.001379/1.182, allocations: 0.5642 MB / 1.115 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.182, allocations: 12.03 kB / 1.115 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.21e-05/1.182, allocations: 46.55 kB / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/1.183, allocations: 35.92 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/1.183, allocations: 302.6 kB / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/1.183, allocations: 12.28 kB / 1.115 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/1.183, allocations: 12 kB / 1.115 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/1.184, allocations: 180.6 kB / 1.115 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.184, allocations: 0 / 1.115 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.184, allocations: 8 kB / 1.115 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/1.184, allocations: 8 kB / 1.115 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/1.184, allocations: 107.9 kB / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/1.186, allocations: 0.9631 MB / 1.116 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/1.187, allocations: 197.3 kB / 1.117 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/1.187, allocations: 57.72 kB / 1.117 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/1.187, allocations: 4 kB / 1.117 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.187, allocations: 38.55 kB / 1.117 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/1.187, allocations: 0 / 1.117 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005888/1.188, allocations: 151 kB / 1.117 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/1.188, allocations: 85.09 kB / 1.117 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/1.188, allocations: 235.4 kB / 1.117 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/1.188, allocations: 29.7 kB / 1.117 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.189, allocations: 156.1 kB / 1.117 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/1.189, allocations: 59.19 kB / 1.117 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/1.189, allocations: 4 kB / 1.117 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.189, allocations: 338.8 kB / 1.118 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.189, allocations: 40 kB / 1.118 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/1.189, allocations: 101.2 kB / 1.118 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/1.189, allocations: 49.77 kB / 1.118 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.904e-06/1.189, allocations: 4 kB / 1.118 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006217/1.19, allocations: 203.6 kB / 1.118 GB, free: 468 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.19, allocations: 7.938 kB / 1.118 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.19, allocations: 4 kB / 1.118 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.19, allocations: 4 kB / 1.118 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/1.191, allocations: 76.03 kB / 1.118 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.191, allocations: 4 kB / 1.118 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/1.191, allocations: 46.25 kB / 1.118 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/1.191, allocations: 12 kB / 1.118 GB, free: 316 kB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.191, allocations: 120.9 kB / 1.118 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.192, allocations: 27.62 kB / 1.118 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/1.192, allocations: 197.7 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.192, allocations: 0 / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.192, allocations: 0 / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.192, allocations: 7.984 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/1.193, allocations: 297.2 kB / 1.119 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.193, allocations: 0 / 1.119 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/1.193, allocations: 63.95 kB / 1.119 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.193, allocations: 0 / 1.119 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/1.193, allocations: 8 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.193, allocations: 0 / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.193, allocations: 3.938 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/1.194, allocations: 359.2 kB / 1.119 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/1.194, allocations: 108.6 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/1.194, allocations: 4 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/1.195, allocations: 43.95 kB / 1.119 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.195, allocations: 19.97 kB / 1.119 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/1.195, allocations: 6 kB / 1.119 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002638/1.195, allocations: 183.1 kB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.195, allocations: 0 / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004915/1.196, allocations: 56.25 kB / 1.12 GB, free: 14.74 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/1.197, allocations: 0.9866 MB / 1.121 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004559/1.197, allocations: 127.9 kB / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.197, allocations: 0 / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/1.197, allocations: 72.25 kB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/1.198, allocations: 64.3 kB / 1.121 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.199, allocations: 373.9 kB / 1.121 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.2, allocations: 0.7557 MB / 1.122 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000261/1.2, allocations: 32.8 kB / 1.122 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.2, allocations: 84.62 kB / 1.122 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of SimCode: time 1.302e-06/1.2, allocations: 4 kB / 1.122 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/1.231, allocations: 5.79 MB / 1.128 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.232, allocations: 161.2 kB / 1.128 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.79, allocations: 0 / 1.128 GB, free: 6.496 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)