Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.8247/0.8247, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.002536/0.002536, allocations: 181 kB / 191.5 MB, free: 5.758 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.649/1.649, allocations: 223.2 MB / 447.7 MB, free: 6.551 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.001233/0.001233, allocations: 91.94 kB / 0.5187 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 270.5 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005887/0.0005889, allocations: 16 kB / 0.693 GB, free: 2.188 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4492, allocations: 82.76 MB / 0.7738 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.6118, allocations: 110.6 MB / 0.8818 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.6121, allocations: 87.88 kB / 0.8819 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.6284, allocations: 5.345 MB / 0.8871 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6284, allocations: 0 / 0.8871 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6284, allocations: 0 / 0.8871 GB, free: 6.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005508/0.629, allocations: 414.9 kB / 0.8875 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.629, allocations: 8.562 kB / 0.8875 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.6291, allocations: 42.55 kB / 0.8875 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.6292, allocations: 15.84 kB / 0.8875 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.6295, allocations: 194.8 kB / 0.8877 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.6295, allocations: 0 / 0.8877 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.6295, allocations: 4 kB / 0.8877 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.6297, allocations: 61.67 kB / 0.8878 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6297, allocations: 0 / 0.8878 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6297, allocations: 3.984 kB / 0.8878 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.6297, allocations: 4 kB / 0.8878 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.63, allocations: 51.91 kB / 0.8879 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.6305, allocations: 320.7 kB / 0.8882 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.6307, allocations: 50.56 kB / 0.8882 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6307, allocations: 0 / 0.8882 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.6307, allocations: 38.69 kB / 0.8882 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.6307, allocations: 4 kB / 0.8882 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.000377/0.6311, allocations: 121.5 kB / 0.8884 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6312, allocations: 51.41 kB / 0.8884 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.6313, allocations: 115.7 kB / 0.8885 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6313, allocations: 29.7 kB / 0.8885 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.6314, allocations: 100 kB / 0.8886 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.6314, allocations: 15.75 kB / 0.8887 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.6314, allocations: 7.938 kB / 0.8887 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6315, allocations: 318.8 kB / 0.889 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.6316, allocations: 27.98 kB / 0.889 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.6317, allocations: 27.98 kB / 0.889 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.6318, allocations: 31.98 kB / 0.8891 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6318, allocations: 0 / 0.8891 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002215/0.632, allocations: 101.5 kB / 0.8892 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.632, allocations: 8 kB / 0.8892 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6321, allocations: 0 / 0.8892 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6321, allocations: 0 / 0.8892 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.6322, allocations: 15.98 kB / 0.8892 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6322, allocations: 0 / 0.8892 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.6323, allocations: 8 kB / 0.8892 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.6323, allocations: 448 / 0.8892 GB, free: 3.637 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.17e-05/0.6324, allocations: 125.8 kB / 0.8893 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.6324, allocations: 7.906 kB / 0.8893 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.6327, allocations: 109.9 kB / 0.8894 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6327, allocations: 0 / 0.8894 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6327, allocations: 3.984 kB / 0.8894 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6327, allocations: 4 kB / 0.8894 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.633, allocations: 189.7 kB / 0.8896 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.633, allocations: 0 / 0.8896 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.6331, allocations: 15.98 kB / 0.8896 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6331, allocations: 0 / 0.8896 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6331, allocations: 0 / 0.8896 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.6331, allocations: 4 kB / 0.8896 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6331, allocations: 0 / 0.8896 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.6334, allocations: 203.3 kB / 0.8898 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.6335, allocations: 81.02 kB / 0.8899 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.6335, allocations: 4 kB / 0.8899 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.6336, allocations: 11.92 kB / 0.8899 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.6336, allocations: 4 kB / 0.8899 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6336, allocations: 8 kB / 0.8899 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.6337, allocations: 97.3 kB / 0.89 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6337, allocations: 0 / 0.89 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002925/0.634, allocations: 31.92 kB / 0.89 GB, free: 2.656 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0006665/0.6347, allocations: 0.7508 MB / 0.8908 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.6349, allocations: 63.91 kB / 0.8908 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6349, allocations: 0 / 0.8908 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.635, allocations: 35.97 kB / 0.8909 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.6353, allocations: 9.5 kB / 0.8909 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.6361, allocations: 436.6 kB / 0.8913 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.6364, allocations: 0.6926 MB / 0.892 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.909e-05/0.6364, allocations: 16.16 kB / 0.892 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.6365, allocations: 19.44 kB / 0.892 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.6365, allocations: 0 / 0.892 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.652, allocations: 1.984 MB / 0.8939 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.6524, allocations: 211.8 kB / 0.8941 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.327, allocations: 5.812 kB / 0.8942 GB, free: 14.5 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)