Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",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.8821/0.8821, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001748/0.001748, allocations: 185 kB / 191.5 MB, free: 5.746 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.542/1.542, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.001033/0.001033, allocations: 103.5 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001839/0.001839, allocations: 275 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 13 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1823, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.383/4.565, allocations: 1.828 GB / 2.602 GB, free: 249.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/4.566, allocations: 93.39 kB / 2.602 GB, free: 249.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.9766/5.542, allocations: 300.8 MB / 2.895 GB, free: 190.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.985e-06/5.542, allocations: 3.938 kB / 2.895 GB, free: 190.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.781e-05/5.542, allocations: 20.16 kB / 2.895 GB, free: 190.5 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00165/5.544, allocations: 0.684 MB / 2.896 GB, free: 190 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/5.544, allocations: 13.52 kB / 2.896 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/5.544, allocations: 69.56 kB / 2.896 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/5.545, allocations: 57.77 kB / 2.896 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/5.545, allocations: 318.2 kB / 2.896 GB, free: 189.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/5.545, allocations: 28.72 kB / 2.896 GB, free: 189.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/5.545, allocations: 26.59 kB / 2.897 GB, free: 189.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/5.546, allocations: 319.2 kB / 2.897 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/5.546, allocations: 0 / 2.897 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/5.546, allocations: 9.25 kB / 2.897 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/5.546, allocations: 7.25 kB / 2.897 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/5.546, allocations: 202.2 kB / 2.897 GB, free: 189.7 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/5.548, allocations: 1.528 MB / 2.899 GB, free: 188.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/5.548, allocations: 109.4 kB / 2.899 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/5.549, allocations: 298.1 kB / 2.899 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/5.549, allocations: 40.83 kB / 2.899 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/5.549, allocations: 0 / 2.899 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0007881/5.55, allocations: 267.6 kB / 2.899 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/5.55, allocations: 58.95 kB / 2.899 GB, free: 188.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/5.55, allocations: 284.8 kB / 2.9 GB, free: 188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/5.55, allocations: 25.7 kB / 2.9 GB, free: 188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/5.55, allocations: 184.5 kB / 2.9 GB, free: 187.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/5.55, allocations: 46.14 kB / 2.9 GB, free: 187.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/5.55, allocations: 3.812 kB / 2.9 GB, free: 187.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/5.55, allocations: 338 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/5.55, allocations: 62.5 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/5.55, allocations: 121.3 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/5.551, allocations: 74.05 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.551, allocations: 2.75 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003841/5.551, allocations: 221.9 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/5.551, allocations: 7.562 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/5.551, allocations: 0 / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/5.551, allocations: 3.719 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/5.551, allocations: 36.66 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/5.551, allocations: 6.516 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/5.552, allocations: 43.55 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/5.552, allocations: 4.969 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001438/5.552, allocations: 153.2 kB / 2.901 GB, free: 187.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/5.552, allocations: 33.62 kB / 2.901 GB, free: 187.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/5.552, allocations: 213.8 kB / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/5.552, allocations: 7.547 kB / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/5.552, allocations: 0 / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/5.552, allocations: 64 / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/5.553, allocations: 0.6818 MB / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.553, allocations: 0 / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/5.553, allocations: 30.3 kB / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/5.553, allocations: 7.891 kB / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/5.553, allocations: 9.938 kB / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/5.553, allocations: 3.938 kB / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/5.553, allocations: 3.188 kB / 2.902 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/5.554, allocations: 416.3 kB / 2.902 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/5.554, allocations: 125.7 kB / 2.902 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/5.554, allocations: 3.094 kB / 2.902 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/5.554, allocations: 24.8 kB / 2.902 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/5.554, allocations: 6.766 kB / 2.902 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/5.554, allocations: 10.75 kB / 2.902 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000194/5.554, allocations: 222.7 kB / 2.903 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/5.555, allocations: 3.688 kB / 2.903 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008237/5.555, allocations: 183.6 kB / 2.903 GB, free: 186.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.002857/5.558, allocations: 2.516 MB / 2.905 GB, free: 184.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000406/5.559, allocations: 156.8 kB / 2.905 GB, free: 184.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/5.559, allocations: 3.188 kB / 2.905 GB, free: 184.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/5.559, allocations: 93.34 kB / 2.905 GB, free: 184.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/5.56, allocations: 142.3 kB / 2.906 GB, free: 184.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/5.562, allocations: 2.388 MB / 2.908 GB, free: 183.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/5.563, allocations: 0.7934 MB / 2.909 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002462/5.563, allocations: 52.47 kB / 2.909 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/5.563, allocations: 85.95 kB / 2.909 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/5.563, allocations: 0 / 2.909 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/5.613, allocations: 26.31 MB / 2.934 GB, free: 180.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/5.613, allocations: 227.3 kB / 2.935 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/8.487, allocations: 0 / 2.935 GB, free: 180.5 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)