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.9458/0.9458, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001376/0.001376, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.781/1.781, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001074/0.001074, allocations: 89.72 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 276.8 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.879e-05, allocations: 8 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5768, allocations: 82.77 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.887/5.463, allocations: 1.827 GB / 2.584 GB, free: 233.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.464, allocations: 84.7 kB / 2.585 GB, free: 233.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.072/6.536, allocations: 296.9 MB / 2.874 GB, free: 193.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/6.536, allocations: 0 / 2.874 GB, free: 193.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.989e-05/6.536, allocations: 7.25 kB / 2.874 GB, free: 193.3 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.00125/6.538, allocations: 0.6464 MB / 2.875 GB, free: 192.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/6.538, allocations: 9.844 kB / 2.875 GB, free: 192.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/6.538, allocations: 63.7 kB / 2.875 GB, free: 192.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/6.538, allocations: 322.9 kB / 2.875 GB, free: 192.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/6.538, allocations: 15.44 kB / 2.876 GB, free: 192.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/6.539, allocations: 17.25 kB / 2.876 GB, free: 192.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002934/6.539, allocations: 145.3 kB / 2.876 GB, free: 192.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/6.539, allocations: 250.7 kB / 2.876 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/6.539, allocations: 0 / 2.876 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/6.539, allocations: 7.469 kB / 2.876 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/6.539, allocations: 7.25 kB / 2.876 GB, free: 192.5 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.001272/6.541, allocations: 1.444 MB / 2.877 GB, free: 191.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/6.541, allocations: 92.91 kB / 2.877 GB, free: 191.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/6.541, allocations: 64.61 kB / 2.877 GB, free: 191.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/6.541, allocations: 302.1 kB / 2.878 GB, free: 191.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/6.541, allocations: 40.62 kB / 2.878 GB, free: 191 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/6.541, allocations: 0 / 2.878 GB, free: 191 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0006003/6.542, allocations: 198 kB / 2.878 GB, free: 191 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/6.542, allocations: 58.53 kB / 2.878 GB, free: 190.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/6.542, allocations: 187.2 kB / 2.878 GB, free: 190.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/6.542, allocations: 28.88 kB / 2.878 GB, free: 190.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/6.542, allocations: 196.3 kB / 2.878 GB, free: 190.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/6.542, allocations: 39.84 kB / 2.878 GB, free: 190.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/6.542, allocations: 0 / 2.878 GB, free: 190.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/6.542, allocations: 334.5 kB / 2.879 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/6.542, allocations: 42.89 kB / 2.879 GB, free: 190.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/6.543, allocations: 102.1 kB / 2.879 GB, free: 190.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/6.543, allocations: 79.95 kB / 2.879 GB, free: 190.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/6.543, allocations: 3.906 kB / 2.879 GB, free: 190.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003184/6.543, allocations: 197.3 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/6.543, allocations: 7.031 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/6.543, allocations: 3.625 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/6.543, allocations: 3.719 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/6.543, allocations: 36.67 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/6.543, allocations: 3.125 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/6.544, allocations: 34.77 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/6.544, allocations: 11.67 kB / 2.879 GB, free: 190.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 6.75e-05/6.544, allocations: 104.8 kB / 2.879 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002975/6.544, allocations: 171.5 kB / 2.88 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/6.544, allocations: 22.47 kB / 2.88 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/6.544, allocations: 190.7 kB / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/6.545, allocations: 0 / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/6.545, allocations: 15.16 kB / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/6.545, allocations: 0 / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008177/6.545, allocations: 0.6091 MB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/6.545, allocations: 3.719 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/6.546, allocations: 34.53 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/6.546, allocations: 0 / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/6.546, allocations: 3.906 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/6.546, allocations: 6.531 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.546, allocations: 6.812 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/6.546, allocations: 406.7 kB / 2.881 GB, free: 189.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/6.546, allocations: 105.7 kB / 2.881 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/6.546, allocations: 7.969 kB / 2.881 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/6.546, allocations: 25.56 kB / 2.881 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/6.546, allocations: 10.25 kB / 2.881 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/6.546, allocations: 7.031 kB / 2.881 GB, free: 189.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000106/6.546, allocations: 152.6 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.546, allocations: 2.844 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000681/6.547, allocations: 153.3 kB / 2.881 GB, free: 189.2 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.002339/6.55, allocations: 2.663 MB / 2.884 GB, free: 187.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002527/6.55, allocations: 110.7 kB / 2.884 GB, free: 187.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/6.55, allocations: 0 / 2.884 GB, free: 187.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/6.55, allocations: 69.94 kB / 2.884 GB, free: 187.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/6.55, allocations: 78.17 kB / 2.884 GB, free: 187.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/6.551, allocations: 433.7 kB / 2.885 GB, free: 187.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/6.552, allocations: 0.792 MB / 2.885 GB, free: 186.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001721/6.552, allocations: 52.33 kB / 2.885 GB, free: 186.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/6.552, allocations: 93.03 kB / 2.885 GB, free: 186.7 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/6.552, allocations: 0 / 2.885 GB, free: 186.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/6.591, allocations: 14.75 MB / 2.9 GB, free: 182.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/6.591, allocations: 185.2 kB / 2.9 GB, free: 182 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/9.056, allocations: 0 / 2.9 GB, free: 182 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)