Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.001639, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5303/0.5303, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.737/1.737, allocations: 223.2 MB / 354.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.0009813, allocations: 92.28 kB / 427.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 11.98 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 72.31 MB / 0.5689 GB, free: 1.789 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.346/5.514, allocations: 1.821 GB / 2.39 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004812/5.514, allocations: 87.95 kB / 2.39 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.196/6.71, allocations: 300.8 MB / 2.683 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.691e-06/6.71, allocations: 0 / 2.683 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.001e-05/6.71, allocations: 11.98 kB / 2.684 GB, free: 2.754 MB / 0.6042 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.002445/6.713, allocations: 0.7014 MB / 2.684 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/6.713, allocations: 8.031 kB / 2.684 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/6.713, allocations: 58.55 kB / 2.684 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005435/6.714, allocations: 67.44 kB / 2.684 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/6.714, allocations: 322 kB / 2.685 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/6.715, allocations: 20.56 kB / 2.685 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/6.715, allocations: 24 kB / 2.685 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/6.715, allocations: 315.7 kB / 2.685 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/6.715, allocations: 3.938 kB / 2.685 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/6.715, allocations: 12 kB / 2.685 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/6.715, allocations: 7.953 kB / 2.685 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/6.716, allocations: 205.6 kB / 2.685 GB, free: 0.9023 MB / 0.6042 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.5147/7.231, allocations: 1.517 MB / 2.687 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/7.231, allocations: 111.5 kB / 2.687 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/7.232, allocations: 298.3 kB / 2.687 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/7.232, allocations: 35.31 kB / 2.687 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.737e-06/7.232, allocations: 5.953 kB / 2.687 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001101/7.233, allocations: 269.3 kB / 2.687 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/7.233, allocations: 58.73 kB / 2.687 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/7.233, allocations: 276.2 kB / 2.688 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/7.233, allocations: 27.95 kB / 2.688 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/7.234, allocations: 186.8 kB / 2.688 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/7.234, allocations: 47.91 kB / 2.688 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/7.234, allocations: 2.281 kB / 2.688 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001186/7.234, allocations: 340.8 kB / 2.688 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/7.234, allocations: 59.23 kB / 2.688 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/7.234, allocations: 123.1 kB / 2.688 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/7.234, allocations: 83.02 kB / 2.689 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.234, allocations: 0.5 kB / 2.689 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005343/7.235, allocations: 228.3 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/7.235, allocations: 6.156 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/7.235, allocations: 5.516 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/7.235, allocations: 5.656 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/7.235, allocations: 35.91 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/7.235, allocations: 6.031 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/7.236, allocations: 40.19 kB / 2.689 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/7.236, allocations: 8.75 kB / 2.689 GB, free: 135.1 MB / 0.6042 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 () * Number of clocked 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 0.0001745/7.236, allocations: 146.9 kB / 2.689 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/7.236, allocations: 32.12 kB / 2.689 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/7.236, allocations: 213.9 kB / 2.689 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/7.236, allocations: 1.469 kB / 2.689 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/7.236, allocations: 4.688 kB / 2.689 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/7.237, allocations: 0.5625 kB / 2.689 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/7.238, allocations: 0.6733 MB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/7.238, allocations: 1.938 kB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/7.238, allocations: 35.8 kB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/7.238, allocations: 5 kB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/7.238, allocations: 3.125 kB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/7.238, allocations: 10.52 kB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/7.238, allocations: 2.094 kB / 2.69 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/7.239, allocations: 421.8 kB / 2.69 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/7.239, allocations: 116 kB / 2.69 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/7.239, allocations: 10.98 kB / 2.69 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/7.239, allocations: 17.08 kB / 2.69 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/7.239, allocations: 20.84 kB / 2.69 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/7.239, allocations: 8.984 kB / 2.69 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002907/7.239, allocations: 223.9 kB / 2.691 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.8e-07/7.239, allocations: 0 / 2.691 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009956/7.24, allocations: 183.2 kB / 2.691 GB, free: 134.1 MB / 0.6042 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 () * Number of clocked 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.003337/7.244, allocations: 2.509 MB / 2.693 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000536/7.244, allocations: 161.8 kB / 2.693 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/7.244, allocations: 0 / 2.693 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/7.245, allocations: 86.33 kB / 2.694 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008421/7.245, allocations: 140.2 kB / 2.694 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/7.249, allocations: 2.403 MB / 2.696 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/7.249, allocations: 0.7852 MB / 2.697 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002874/7.25, allocations: 58.61 kB / 2.697 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/7.25, allocations: 93.64 kB / 2.697 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/7.25, allocations: 1.094 kB / 2.697 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09213/7.342, allocations: 26.27 MB / 2.723 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/7.342, allocations: 214.1 kB / 2.723 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/10.24, allocations: 2.5 kB / 2.723 GB, free: 129.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)