Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8571/0.8571, allocations: 127.4 MB / 134.9 MB, free: 3.488 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 181.1 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009329, allocations: 102.1 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.969e-05, allocations: 6.375 kB / 0.5467 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 76.77 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.664/5.834, allocations: 2.137 GB / 2.758 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/5.835, allocations: 93.64 kB / 2.758 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9421/6.777, allocations: 292.3 MB / 3.044 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/6.777, allocations: 0 / 3.044 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.491e-05/6.777, allocations: 7.031 kB / 3.044 GB, free: 162.6 MB / 0.6511 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.001034/6.778, allocations: 0.6589 MB / 3.044 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/6.778, allocations: 7.062 kB / 3.044 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/6.778, allocations: 62.22 kB / 3.044 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/6.779, allocations: 324.6 kB / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/6.779, allocations: 10.91 kB / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/6.779, allocations: 14.55 kB / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002784/6.779, allocations: 177.4 kB / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/6.78, allocations: 200.7 kB / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/6.78, allocations: 0 / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/6.78, allocations: 3.953 kB / 3.045 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/6.78, allocations: 7.438 kB / 3.045 GB, free: 162 MB / 0.6511 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.001026/6.781, allocations: 0.8952 MB / 3.046 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/6.781, allocations: 171.9 kB / 3.046 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/6.781, allocations: 82.89 kB / 3.046 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/6.782, allocations: 301 kB / 3.047 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/6.782, allocations: 33.75 kB / 3.047 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.434e-06/6.782, allocations: 0 / 3.047 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006648/6.782, allocations: 255.5 kB / 3.047 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/6.782, allocations: 51.41 kB / 3.047 GB, free: 161 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/6.782, allocations: 178.2 kB / 3.047 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/6.782, allocations: 25.7 kB / 3.047 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/6.783, allocations: 180.3 kB / 3.047 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/6.783, allocations: 62.39 kB / 3.047 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/6.783, allocations: 0 / 3.047 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/6.783, allocations: 336.8 kB / 3.048 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/6.783, allocations: 52.67 kB / 3.048 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/6.783, allocations: 86.38 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/6.783, allocations: 111.1 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/6.783, allocations: 0 / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003712/6.784, allocations: 230.1 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/6.784, allocations: 7.875 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/6.784, allocations: 3.953 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/6.784, allocations: 3.938 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/6.784, allocations: 42.05 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/6.784, allocations: 3.906 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/6.784, allocations: 26.23 kB / 3.048 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/6.784, allocations: 14.75 kB / 3.048 GB, free: 160.4 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.203e-05/6.784, allocations: 103.8 kB / 3.048 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000378/6.784, allocations: 228.2 kB / 3.048 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/6.784, allocations: 23.2 kB / 3.049 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/6.785, allocations: 258.9 kB / 3.049 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/6.785, allocations: 0 / 3.049 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/6.785, allocations: 0 / 3.049 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/6.785, allocations: 7.375 kB / 3.049 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/6.786, allocations: 0.6828 MB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/6.786, allocations: 6.812 kB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/6.786, allocations: 36.91 kB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/6.786, allocations: 3.25 kB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/6.786, allocations: 6.656 kB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/6.786, allocations: 3.938 kB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/6.786, allocations: 5.844 kB / 3.049 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/6.787, allocations: 0.5184 MB / 3.05 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/6.787, allocations: 98.67 kB / 3.05 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/6.787, allocations: 6.875 kB / 3.05 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/6.787, allocations: 18.55 kB / 3.05 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/6.787, allocations: 17.36 kB / 3.05 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/6.787, allocations: 10.56 kB / 3.05 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.749e-05/6.787, allocations: 139.5 kB / 3.05 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.787, allocations: 0 / 3.05 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005952/6.788, allocations: 161.5 kB / 3.05 GB, free: 159.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.002939/6.791, allocations: 2.734 MB / 3.053 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002895/6.791, allocations: 148.4 kB / 3.053 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/6.791, allocations: 3.125 kB / 3.053 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/6.791, allocations: 77.44 kB / 3.053 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/6.792, allocations: 86.23 kB / 3.053 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/6.793, allocations: 0.5602 MB / 3.054 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/6.793, allocations: 0.7938 MB / 3.055 GB, free: 157 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001739/6.793, allocations: 45.22 kB / 3.055 GB, free: 157 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/6.793, allocations: 93.34 kB / 3.055 GB, free: 157 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/6.793, allocations: 0 / 3.055 GB, free: 157 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/6.827, allocations: 15.1 MB / 3.07 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/6.827, allocations: 171.3 kB / 3.07 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/9.01, allocations: 0 / 3.07 GB, free: 156.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)