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.6998/0.6998, 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.000973/0.000973, allocations: 181 kB / 187.3 MB, free: 11.87 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.255/1.255, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0007706/0.0007706, allocations: 97.2 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001639/0.001639, allocations: 278.8 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.757e-05, allocations: 8 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3567, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.508/3.865, allocations: 1.828 GB / 2.592 GB, free: 178.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/3.865, allocations: 84.75 kB / 2.592 GB, free: 178.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8423/4.707, allocations: 300.5 MB / 2.886 GB, free: 162.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/4.707, allocations: 4 kB / 2.886 GB, free: 162.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.722e-05/4.707, allocations: 11.98 kB / 2.886 GB, free: 162.9 MB / 0.698 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.0009198/4.708, allocations: 0.6469 MB / 2.886 GB, free: 162.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/4.708, allocations: 12.03 kB / 2.886 GB, free: 162.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/4.708, allocations: 60.94 kB / 2.886 GB, free: 162.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/4.709, allocations: 67.5 kB / 2.886 GB, free: 162 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/4.709, allocations: 313.9 kB / 2.887 GB, free: 161.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/4.709, allocations: 22.62 kB / 2.887 GB, free: 161.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/4.709, allocations: 28 kB / 2.887 GB, free: 161.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/4.709, allocations: 299.8 kB / 2.887 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/4.709, allocations: 0 / 2.887 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/4.71, allocations: 12 kB / 2.887 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/4.71, allocations: 8 kB / 2.887 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/4.71, allocations: 173.5 kB / 2.887 GB, free: 161.1 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001063/4.711, allocations: 1.526 MB / 2.889 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/4.711, allocations: 98.5 kB / 2.889 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/4.711, allocations: 72.83 kB / 2.889 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/4.711, allocations: 295.3 kB / 2.889 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/4.711, allocations: 38.52 kB / 2.889 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/4.711, allocations: 0 / 2.889 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.00039/4.712, allocations: 176.2 kB / 2.889 GB, free: 158.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/4.712, allocations: 51.41 kB / 2.889 GB, free: 158.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/4.712, allocations: 274.6 kB / 2.89 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/4.712, allocations: 29.7 kB / 2.89 GB, free: 158.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/4.712, allocations: 188 kB / 2.89 GB, free: 158.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/4.712, allocations: 51.36 kB / 2.89 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/4.712, allocations: 0 / 2.89 GB, free: 158.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/4.712, allocations: 338.8 kB / 2.89 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/4.712, allocations: 43.98 kB / 2.89 GB, free: 157.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/4.712, allocations: 96.89 kB / 2.89 GB, free: 157.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/4.713, allocations: 55.97 kB / 2.89 GB, free: 157.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/4.713, allocations: 0 / 2.89 GB, free: 157.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002098/4.713, allocations: 191.9 kB / 2.891 GB, free: 157.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/4.713, allocations: 4.156 kB / 2.891 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/4.713, allocations: 11.95 kB / 2.891 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/4.713, allocations: 0 / 2.891 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/4.713, allocations: 39.91 kB / 2.891 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/4.713, allocations: 4.062 kB / 2.891 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/4.713, allocations: 39.77 kB / 2.891 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/4.713, allocations: 12 kB / 2.891 GB, free: 157.2 MB / 0.698 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 () * 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 5.105e-05/4.713, allocations: 116.9 kB / 2.891 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/4.713, allocations: 27.62 kB / 2.891 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/4.714, allocations: 172.5 kB / 2.891 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/4.714, allocations: 7.953 kB / 2.891 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/4.714, allocations: 0 / 2.891 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/4.714, allocations: 6.938 kB / 2.891 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/4.714, allocations: 0.6443 MB / 2.892 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/4.714, allocations: 4 kB / 2.892 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/4.714, allocations: 32.2 kB / 2.892 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/4.714, allocations: 0 / 2.892 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/4.714, allocations: 8 kB / 2.892 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/4.714, allocations: 7.938 kB / 2.892 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/4.714, allocations: 0 / 2.892 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/4.715, allocations: 381.1 kB / 2.892 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/4.715, allocations: 128.6 kB / 2.892 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/4.715, allocations: 4 kB / 2.892 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/4.715, allocations: 19.98 kB / 2.892 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/4.715, allocations: 15.94 kB / 2.892 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/4.715, allocations: 8 kB / 2.892 GB, free: 155.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001503/4.715, allocations: 218.2 kB / 2.892 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/4.715, allocations: 0 / 2.892 GB, free: 155.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006333/4.716, allocations: 183.8 kB / 2.893 GB, free: 155.1 MB / 0.698 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 () * 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.001714/4.718, allocations: 2.478 MB / 2.895 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001955/4.718, allocations: 131.8 kB / 2.895 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/4.718, allocations: 0 / 2.895 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/4.718, allocations: 67.86 kB / 2.895 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/4.718, allocations: 151.5 kB / 2.895 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/4.719, allocations: 454.7 kB / 2.896 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/4.719, allocations: 0.7875 MB / 2.897 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001744/4.72, allocations: 63.06 kB / 2.897 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/4.72, allocations: 91.41 kB / 2.897 GB, free: 150.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/4.72, allocations: 0 / 2.897 GB, free: 150.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/4.755, allocations: 29.6 MB / 2.926 GB, free: 121.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/4.755, allocations: 201.9 kB / 2.926 GB, free: 121.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/7.229, allocations: 0 / 2.926 GB, free: 121.1 MB / 0.698 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)