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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6818/0.6818, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009061/0.0009061, allocations: 187.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 96.75 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 276.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3413, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.4488, allocations: 111 MB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.449, allocations: 79.95 kB / 0.8729 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0208/0.4698, allocations: 7.645 MB / 0.8803 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4699, allocations: 0 / 0.8803 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.4699, allocations: 8 kB / 0.8803 GB, free: 5.656 MB / 0.5417 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.000767/0.4707, allocations: 0.5526 MB / 0.8809 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4707, allocations: 8.031 kB / 0.8809 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.4708, allocations: 46.55 kB / 0.8809 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.471, allocations: 35.61 kB / 0.881 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.4714, allocations: 298.7 kB / 0.8813 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.4714, allocations: 8.281 kB / 0.8813 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4715, allocations: 16 kB / 0.8813 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4717, allocations: 180.7 kB / 0.8814 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4717, allocations: 0 / 0.8814 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4718, allocations: 4 kB / 0.8815 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.4718, allocations: 4 kB / 0.8815 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.472, allocations: 107.9 kB / 0.8816 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.473, allocations: 0.9657 MB / 0.8825 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.4735, allocations: 189.2 kB / 0.8827 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.4736, allocations: 59.83 kB / 0.8827 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4737, allocations: 8.312 kB / 0.8827 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.4737, allocations: 46.48 kB / 0.8828 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.4737, allocations: 0 / 0.8828 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.000349/0.4741, allocations: 153.3 kB / 0.8829 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4741, allocations: 81.11 kB / 0.883 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.4743, allocations: 227.4 kB / 0.8832 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4743, allocations: 33.64 kB / 0.8833 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.4744, allocations: 164.2 kB / 0.8834 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4745, allocations: 55.19 kB / 0.8835 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.4745, allocations: 4 kB / 0.8835 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.4746, allocations: 338.8 kB / 0.8838 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.4747, allocations: 44 kB / 0.8838 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4748, allocations: 95.62 kB / 0.8839 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.644e-05/0.4749, allocations: 51.92 kB / 0.884 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4749, allocations: 3.938 kB / 0.884 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003251/0.4752, allocations: 198.6 kB / 0.8842 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4753, allocations: 12 kB / 0.8842 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4753, allocations: 0 / 0.8842 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4753, allocations: 4 kB / 0.8842 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.4756, allocations: 75.88 kB / 0.8843 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4756, allocations: 4 kB / 0.8843 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4758, allocations: 47.81 kB / 0.8843 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.4759, allocations: 11.98 kB / 0.8843 GB, free: 1.277 MB / 0.5417 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 6.341e-05/0.4759, allocations: 112.9 kB / 0.8844 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4761, allocations: 27.67 kB / 0.8845 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.4764, allocations: 205.1 kB / 0.8847 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4764, allocations: 4 kB / 0.8847 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4764, allocations: 0 / 0.8847 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4764, allocations: 0 / 0.8847 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.4767, allocations: 293.4 kB / 0.8849 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4767, allocations: 0 / 0.8849 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.477, allocations: 72.17 kB / 0.885 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.477, allocations: 7.984 kB / 0.885 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.477, allocations: 7.953 kB / 0.885 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4771, allocations: 3.938 kB / 0.885 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4771, allocations: 4 kB / 0.885 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.4774, allocations: 357.8 kB / 0.8854 GB, free: 128 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.4775, allocations: 104.8 kB / 0.8855 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.4776, allocations: 4 kB / 0.8855 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.4778, allocations: 35.92 kB / 0.8855 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.4779, allocations: 27.91 kB / 0.8855 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4779, allocations: 4 kB / 0.8855 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001509/0.4781, allocations: 183.1 kB / 0.8857 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4781, allocations: 0 / 0.8857 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003006/0.4784, allocations: 72.08 kB / 0.8858 GB, free: 15.69 MB / 0.5573 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.0006825/0.4791, allocations: 0.9694 MB / 0.8867 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.4793, allocations: 132.9 kB / 0.8869 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4793, allocations: 0 / 0.8869 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4795, allocations: 71.92 kB / 0.8869 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.4799, allocations: 69.66 kB / 0.887 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007399/0.4806, allocations: 370.1 kB / 0.8873 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4809, allocations: 0.7558 MB / 0.8881 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.481, allocations: 39.84 kB / 0.8881 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4811, allocations: 79.41 kB / 0.8882 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.4811, allocations: 0 / 0.8882 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.5, allocations: 5.805 MB / 0.8939 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.5003, allocations: 176 kB / 0.894 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.246, allocations: 1.719 kB / 0.894 GB, free: 7.359 MB / 0.5573 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)