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.8695/0.8695, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 182.8 kB / 191.5 MB, free: 5.734 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.586/1.586, allocations: 223.2 MB / 447.7 MB, free: 6.527 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.001086/0.001086, allocations: 92.22 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 282.9 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004436, allocations: 12 kB / 0.693 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4465, allocations: 82.78 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.6106, allocations: 111.1 MB / 0.8823 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6109, allocations: 83.94 kB / 0.8824 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02243/0.6334, allocations: 7.653 MB / 0.8898 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6334, allocations: 0 / 0.8898 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.6335, allocations: 8 kB / 0.8899 GB, free: 3.199 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.001038/0.6345, allocations: 0.6115 MB / 0.8904 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6346, allocations: 8.031 kB / 0.8905 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.6346, allocations: 50.48 kB / 0.8905 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.6348, allocations: 35.7 kB / 0.8905 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.6353, allocations: 286.7 kB / 0.8908 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6353, allocations: 24.22 kB / 0.8908 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.6354, allocations: 12 kB / 0.8908 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.6359, allocations: 245.2 kB / 0.8911 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.6359, allocations: 4 kB / 0.8911 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.6359, allocations: 7.938 kB / 0.8911 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.6359, allocations: 7.938 kB / 0.8911 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.6366, allocations: 245.6 kB / 0.8913 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.6378, allocations: 0.9541 MB / 0.8923 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.6386, allocations: 273.1 kB / 0.8925 GB, free: 260 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.6386, allocations: 8.297 kB / 0.8925 GB, free: 252 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.6387, allocations: 34.56 kB / 0.8926 GB, free: 208 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.6387, allocations: 3.938 kB / 0.8926 GB, free: 204 kB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001204/0.6399, allocations: 401.1 kB / 0.893 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.6399, allocations: 85.09 kB / 0.893 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.6402, allocations: 230.2 kB / 0.8933 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.6402, allocations: 29.7 kB / 0.8933 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6403, allocations: 164.1 kB / 0.8934 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.6404, allocations: 47.27 kB / 0.8935 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.6404, allocations: 4 kB / 0.8935 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6405, allocations: 334.8 kB / 0.8938 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.6409, allocations: 119.9 kB / 0.8939 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.6412, allocations: 164 kB / 0.8941 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.6416, allocations: 123.9 kB / 0.8942 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6416, allocations: 0 / 0.8942 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007923/0.6424, allocations: 345.5 kB / 0.8945 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6424, allocations: 4 kB / 0.8945 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6424, allocations: 4 kB / 0.8945 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6425, allocations: 4 kB / 0.8945 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.6428, allocations: 67.89 kB / 0.8946 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6428, allocations: 16.17 kB / 0.8946 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.643, allocations: 47.75 kB / 0.8947 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.6431, allocations: 12 kB / 0.8947 GB, free: 13.97 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.6432, allocations: 126.4 kB / 0.8948 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.6433, allocations: 35.61 kB / 0.8948 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008129/0.6441, allocations: 331.2 kB / 0.8951 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6442, allocations: 0 / 0.8951 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6442, allocations: 4 kB / 0.8951 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6442, allocations: 3.984 kB / 0.8951 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.6446, allocations: 293.3 kB / 0.8954 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6446, allocations: 7.938 kB / 0.8954 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.6449, allocations: 63.95 kB / 0.8955 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6449, allocations: 4 kB / 0.8955 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.6449, allocations: 7.953 kB / 0.8955 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6449, allocations: 0 / 0.8955 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6449, allocations: 0 / 0.8955 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.6458, allocations: 0.4944 MB / 0.896 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.6459, allocations: 96.83 kB / 0.8961 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.6459, allocations: 11.94 kB / 0.8961 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.6462, allocations: 39.91 kB / 0.8961 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.6462, allocations: 23.97 kB / 0.8962 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.6463, allocations: 4 kB / 0.8962 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001698/0.6464, allocations: 186 kB / 0.8963 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6464, allocations: 0 / 0.8963 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003606/0.6468, allocations: 64.09 kB / 0.8964 GB, free: 12.1 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 () * 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 (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.00121/0.648, allocations: 1.11 MB / 0.8975 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007439/0.6488, allocations: 276 kB / 0.8977 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6488, allocations: 0 / 0.8977 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.6492, allocations: 139.9 kB / 0.8979 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.6496, allocations: 68.83 kB / 0.8979 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.6511, allocations: 1.671 MB / 0.8996 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.6514, allocations: 0.7596 MB / 0.9003 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.6516, allocations: 34.22 kB / 0.9004 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.6517, allocations: 87.41 kB / 0.9004 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.6517, allocations: 0 / 0.9004 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.6689, allocations: 5.739 MB / 0.906 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.6692, allocations: 205.2 kB / 0.9062 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.709, allocations: 0 / 0.9062 GB, free: 2.086 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)