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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006611/0.0006611, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007055/0.0007055, allocations: 174.7 kB / 16.58 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6104/0.6104, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002575, allocations: 8 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3866/0.5091, allocations: 152.2 MB / 0.7055 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005599/0.5147, allocations: 6.072 MB / 0.7114 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.515, allocations: 7.938 kB / 0.7114 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.5153, allocations: 119.1 kB / 0.7116 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.5165, allocations: 0.5948 MB / 0.7121 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.5171, allocations: 275.5 kB / 0.7124 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.5178, allocations: 0.8538 MB / 0.7132 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.5181, allocations: 213.2 kB / 0.7134 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007351/0.5189, allocations: 454.1 kB / 0.7139 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.5192, allocations: 263 kB / 0.7141 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.5192, allocations: 12 kB / 0.7141 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.5196, allocations: 203.5 kB / 0.7143 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.5197, allocations: 91.75 kB / 0.7144 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.5198, allocations: 85.52 kB / 0.7145 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.5201, allocations: 319.3 kB / 0.7148 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5201, allocations: 3.938 kB / 0.7148 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5201, allocations: 0 / 0.7148 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5201, allocations: 0 / 0.7148 GB, free: 9.148 MB / 0.5294 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.0006117/0.5207, allocations: 0.5695 MB / 0.7154 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.5208, allocations: 8.031 kB / 0.7154 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.5208, allocations: 58.55 kB / 0.7154 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.5211, allocations: 67.58 kB / 0.7155 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.5214, allocations: 301.4 kB / 0.7158 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5214, allocations: 16.56 kB / 0.7158 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.5215, allocations: 28 kB / 0.7158 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.5219, allocations: 319.7 kB / 0.7161 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5219, allocations: 3.938 kB / 0.7161 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.522, allocations: 12 kB / 0.7161 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.522, allocations: 4 kB / 0.7161 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.5223, allocations: 209.6 kB / 0.7163 GB, free: 7.453 MB / 0.5294 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.001194/0.5235, allocations: 1.542 MB / 0.7178 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.5237, allocations: 118.5 kB / 0.718 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.5239, allocations: 100.8 kB / 0.7181 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/0.5244, allocations: 319.2 kB / 0.7184 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5244, allocations: 36.69 kB / 0.7184 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.5245, allocations: 0 / 0.7184 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.000619/0.5251, allocations: 293.3 kB / 0.7187 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5251, allocations: 51.41 kB / 0.7187 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.5254, allocations: 304.6 kB / 0.719 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5254, allocations: 29.7 kB / 0.719 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5255, allocations: 196 kB / 0.7192 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5255, allocations: 43.36 kB / 0.7193 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.5256, allocations: 4 kB / 0.7193 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.5257, allocations: 338.8 kB / 0.7196 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5258, allocations: 59.95 kB / 0.7197 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.526, allocations: 126.8 kB / 0.7198 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.5261, allocations: 75.97 kB / 0.7198 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5261, allocations: 0 / 0.7198 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003542/0.5265, allocations: 222.3 kB / 0.7201 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5265, allocations: 4.156 kB / 0.7201 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5265, allocations: 8 kB / 0.7201 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5265, allocations: 0 / 0.7201 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5267, allocations: 39.92 kB / 0.7201 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5267, allocations: 7.953 kB / 0.7201 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.5269, allocations: 39.66 kB / 0.7202 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5269, allocations: 19.94 kB / 0.7202 GB, free: 3.242 MB / 0.5294 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.0001099/0.527, allocations: 141.8 kB / 0.7203 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.5271, allocations: 31.56 kB / 0.7203 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.5275, allocations: 220.3 kB / 0.7205 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5275, allocations: 4 kB / 0.7206 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5275, allocations: 0 / 0.7206 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5275, allocations: 3.953 kB / 0.7206 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.5283, allocations: 0.6879 MB / 0.7212 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5283, allocations: 4.641 kB / 0.7212 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5285, allocations: 32.14 kB / 0.7213 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5285, allocations: 8 kB / 0.7213 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5285, allocations: 4 kB / 0.7213 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5285, allocations: 7.922 kB / 0.7213 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5285, allocations: 4 kB / 0.7213 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.5289, allocations: 345 kB / 0.7216 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.529, allocations: 128.7 kB / 0.7217 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.529, allocations: 4 kB / 0.7217 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.5292, allocations: 19.98 kB / 0.7218 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.5292, allocations: 15.92 kB / 0.7218 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.5292, allocations: 4 kB / 0.7218 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001727/0.5294, allocations: 227 kB / 0.722 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5294, allocations: 0 / 0.722 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003203/0.5297, allocations: 71.84 kB / 0.7221 GB, free: 1.16 MB / 0.5294 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.0007758/0.5305, allocations: 0.9334 MB / 0.723 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.5309, allocations: 163.8 kB / 0.7231 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5309, allocations: 0 / 0.7231 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.531, allocations: 96.67 kB / 0.7232 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.5317, allocations: 135.7 kB / 0.7234 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.5338, allocations: 1.684 MB / 0.725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.5341, allocations: 0.7797 MB / 0.7258 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.5343, allocations: 62.94 kB / 0.7258 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5344, allocations: 91.41 kB / 0.7259 GB, free: 13.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5344, allocations: 0 / 0.7259 GB, free: 13.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.551, allocations: 7.509 MB / 0.7332 GB, free: 5.793 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.5512, allocations: 227.1 kB / 0.7335 GB, free: 5.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.108, allocations: 0 / 0.7335 GB, free: 5.551 MB / 0.545 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) Environment - environmentSimulation: