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.7748/0.7748, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 188.8 kB / 169.7 MB, free: 1.723 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.77/1.77, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0009263/0.0009258, allocations: 88.83 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.791e-05/4.805e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1887, allocations: 76.75 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.565/6.754, allocations: 2.137 GB / 2.765 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/6.754, allocations: 87.81 kB / 2.766 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.068/7.822, allocations: 295.9 MB / 3.055 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.472e-06/7.822, allocations: 0 / 3.055 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.177e-05/7.822, allocations: 15.98 kB / 3.055 GB, free: 109.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.00113/7.823, allocations: 0.6473 MB / 3.055 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/7.823, allocations: 15.97 kB / 3.055 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/7.823, allocations: 62.53 kB / 3.055 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/7.824, allocations: 67.42 kB / 3.055 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/7.824, allocations: 325.9 kB / 3.056 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/7.824, allocations: 20.56 kB / 3.056 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/7.824, allocations: 28 kB / 3.056 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/7.825, allocations: 240.8 kB / 3.056 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/7.825, allocations: 0 / 3.056 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/7.825, allocations: 12 kB / 3.056 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/7.825, allocations: 8 kB / 3.056 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/7.825, allocations: 182.2 kB / 3.056 GB, free: 107.9 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.001073/7.826, allocations: 0.9769 MB / 3.057 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/7.826, allocations: 178.6 kB / 3.057 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/7.827, allocations: 92.83 kB / 3.057 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/7.827, allocations: 295.3 kB / 3.058 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/7.827, allocations: 42.5 kB / 3.058 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.913e-06/7.827, allocations: 3.984 kB / 3.058 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004537/7.827, allocations: 209.6 kB / 3.058 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/7.827, allocations: 55.41 kB / 3.058 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/7.828, allocations: 262.7 kB / 3.058 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/7.828, allocations: 25.7 kB / 3.058 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/7.828, allocations: 168.3 kB / 3.058 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/7.828, allocations: 74.95 kB / 3.058 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/7.828, allocations: 8 kB / 3.058 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/7.828, allocations: 338.8 kB / 3.059 GB, free: 105 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/7.828, allocations: 55.98 kB / 3.059 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/7.828, allocations: 89.31 kB / 3.059 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/7.828, allocations: 71.89 kB / 3.059 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/7.828, allocations: 0 / 3.059 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002647/7.829, allocations: 204.3 kB / 3.059 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/7.829, allocations: 4 kB / 3.059 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/7.829, allocations: 4 kB / 3.059 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/7.829, allocations: 0 / 3.059 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/7.829, allocations: 47.91 kB / 3.059 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/7.829, allocations: 0 / 3.059 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/7.829, allocations: 35.78 kB / 3.059 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/7.829, allocations: 4 kB / 3.059 GB, free: 104.5 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.371e-05/7.829, allocations: 117 kB / 3.059 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/7.829, allocations: 31.61 kB / 3.059 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/7.829, allocations: 222.5 kB / 3.06 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/7.829, allocations: 4 kB / 3.06 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/7.829, allocations: 0 / 3.06 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/7.829, allocations: 0 / 3.06 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/7.83, allocations: 0.6866 MB / 3.06 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/7.83, allocations: 4 kB / 3.06 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/7.83, allocations: 39.91 kB / 3.06 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/7.83, allocations: 7.953 kB / 3.06 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/7.83, allocations: 8 kB / 3.06 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/7.83, allocations: 8.188 kB / 3.06 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/7.831, allocations: 3.938 kB / 3.06 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/7.831, allocations: 494.4 kB / 3.061 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/7.831, allocations: 108.7 kB / 3.061 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/7.831, allocations: 11.98 kB / 3.061 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/7.831, allocations: 28.05 kB / 3.061 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/7.831, allocations: 15.92 kB / 3.061 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/7.831, allocations: 8 kB / 3.061 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001502/7.831, allocations: 222.1 kB / 3.061 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/7.831, allocations: 0 / 3.061 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006963/7.832, allocations: 183.9 kB / 3.061 GB, free: 102.1 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.002003/7.834, allocations: 2.551 MB / 3.064 GB, free: 99.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002632/7.834, allocations: 147.9 kB / 3.064 GB, free: 99.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/7.834, allocations: 0 / 3.064 GB, free: 99.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/7.835, allocations: 91.84 kB / 3.064 GB, free: 99.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/7.835, allocations: 141.1 kB / 3.064 GB, free: 99.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009668/7.836, allocations: 0.6029 MB / 3.065 GB, free: 98.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/7.837, allocations: 0.7914 MB / 3.066 GB, free: 97.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001841/7.837, allocations: 58.94 kB / 3.066 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/7.837, allocations: 91.41 kB / 3.066 GB, free: 97.48 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/7.837, allocations: 0 / 3.066 GB, free: 97.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/7.882, allocations: 29.99 MB / 3.095 GB, free: 67.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/7.882, allocations: 204.5 kB / 3.095 GB, free: 67.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/10.87, allocations: 0 / 3.095 GB, free: 67.37 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)