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.6867/0.6867, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001075/0.001075, allocations: 171.9 kB / 173.7 MB, free: 6.137 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.551/1.551, allocations: 205.4 MB / 409 MB, free: 10.52 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.001165/0.001164, allocations: 96.2 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 14.59 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 76.76 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/5.144, allocations: 2.137 GB / 2.773 GB, free: 168 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/5.145, allocations: 90.92 kB / 2.773 GB, free: 168 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.015/6.159, allocations: 296.2 MB / 3.062 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.078e-06/6.159, allocations: 0 / 3.062 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.04e-05/6.159, allocations: 12 kB / 3.062 GB, free: 149.9 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.001862/6.161, allocations: 0.7017 MB / 3.063 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/6.161, allocations: 12.03 kB / 3.063 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/6.162, allocations: 62.53 kB / 3.063 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/6.162, allocations: 59.5 kB / 3.063 GB, free: 149 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/6.163, allocations: 330 kB / 3.063 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/6.163, allocations: 20.56 kB / 3.063 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/6.163, allocations: 27.95 kB / 3.063 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/6.163, allocations: 264.8 kB / 3.064 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/6.163, allocations: 0 / 3.064 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/6.163, allocations: 12 kB / 3.064 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/6.163, allocations: 4 kB / 3.064 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/6.164, allocations: 226.1 kB / 3.064 GB, free: 148.1 MB / 0.6511 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.001518/6.165, allocations: 0.9711 MB / 3.065 GB, free: 147 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/6.166, allocations: 206.6 kB / 3.065 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/6.166, allocations: 299.3 kB / 3.065 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/6.166, allocations: 30.56 kB / 3.065 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/6.166, allocations: 0 / 3.065 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008444/6.167, allocations: 330 kB / 3.066 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/6.167, allocations: 51.41 kB / 3.066 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/6.168, allocations: 267.7 kB / 3.066 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/6.168, allocations: 29.7 kB / 3.066 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/6.168, allocations: 168.3 kB / 3.066 GB, free: 145.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/6.168, allocations: 63.09 kB / 3.066 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/6.168, allocations: 8 kB / 3.066 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/6.168, allocations: 342.8 kB / 3.066 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/6.168, allocations: 71.95 kB / 3.067 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/6.168, allocations: 110.5 kB / 3.067 GB, free: 145 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/6.168, allocations: 84.98 kB / 3.067 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/6.168, allocations: 4 kB / 3.067 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003976/6.169, allocations: 239.2 kB / 3.067 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/6.169, allocations: 9.406 kB / 3.067 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/6.169, allocations: 0 / 3.067 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/6.169, allocations: 3.984 kB / 3.067 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/6.169, allocations: 39.98 kB / 3.067 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/6.169, allocations: 0 / 3.067 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/6.169, allocations: 43.77 kB / 3.067 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/6.169, allocations: 8 kB / 3.067 GB, free: 144.6 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 () * Number of clocked 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 0.0001533/6.17, allocations: 153.7 kB / 3.067 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/6.17, allocations: 27.62 kB / 3.067 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/6.17, allocations: 256 kB / 3.067 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/6.17, allocations: 4 kB / 3.067 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/6.17, allocations: 0 / 3.067 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/6.17, allocations: 0 / 3.067 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/6.171, allocations: 0.7267 MB / 3.068 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/6.171, allocations: 0 / 3.068 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/6.171, allocations: 48.09 kB / 3.068 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/6.171, allocations: 4 kB / 3.068 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/6.171, allocations: 8 kB / 3.068 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/6.171, allocations: 0 / 3.068 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/6.171, allocations: 8 kB / 3.068 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/6.172, allocations: 0.5437 MB / 3.069 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/6.172, allocations: 108.7 kB / 3.069 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/6.172, allocations: 8 kB / 3.069 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/6.172, allocations: 20.05 kB / 3.069 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/6.173, allocations: 19.94 kB / 3.069 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/6.173, allocations: 4 kB / 3.069 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001769/6.173, allocations: 223 kB / 3.069 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/6.173, allocations: 3.938 kB / 3.069 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000878/6.174, allocations: 180 kB / 3.069 GB, free: 142.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 () * Number of clocked 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.003011/6.177, allocations: 2.605 MB / 3.072 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004855/6.177, allocations: 195.8 kB / 3.072 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/6.177, allocations: 0 / 3.072 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/6.177, allocations: 108.2 kB / 3.072 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/6.178, allocations: 136.3 kB / 3.072 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/6.181, allocations: 1.848 MB / 3.074 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/6.182, allocations: 0.7875 MB / 3.075 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002655/6.182, allocations: 54.95 kB / 3.075 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/6.182, allocations: 91.41 kB / 3.075 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.595e-06/6.182, allocations: 4 kB / 3.075 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04382/6.226, allocations: 26.7 MB / 3.101 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/6.226, allocations: 223.2 kB / 3.101 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/9.108, allocations: 0 / 3.101 GB, free: 109.3 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)