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.001711/0.001711, allocations: 95.88 kB / 15.68 MB, free: 488 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.002309/0.002309, allocations: 177.4 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.576/2.576, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.19/1.19, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005385, allocations: 12 kB / 493 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2579, allocations: 77.11 MB / 0.5567 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7947/1.053, allocations: 140.3 MB / 0.6937 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01069/1.063, allocations: 5.256 MB / 0.6989 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/1.064, allocations: 11.94 kB / 0.6989 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/1.065, allocations: 183.1 kB / 0.6991 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002588/1.068, allocations: 0.5764 MB / 0.6996 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/1.07, allocations: 352.3 kB / 0.7 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001006/1.071, allocations: 432 kB / 0.7004 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/1.071, allocations: 213.3 kB / 0.7006 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/1.073, allocations: 430.7 kB / 0.701 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/1.073, allocations: 199.3 kB / 0.7012 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/1.074, allocations: 12 kB / 0.7012 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/1.075, allocations: 199.7 kB / 0.7014 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/1.075, allocations: 95.7 kB / 0.7015 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/1.075, allocations: 85.52 kB / 0.7016 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006874/1.076, allocations: 308.1 kB / 0.7018 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.076, allocations: 0 / 0.7018 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.926e-06/1.076, allocations: 0 / 0.7018 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.076, allocations: 0 / 0.7018 GB, free: 5.602 MB / 0.5137 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.001407/1.077, allocations: 0.5696 MB / 0.7024 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/1.077, allocations: 12.03 kB / 0.7024 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/1.077, allocations: 66.47 kB / 0.7025 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/1.078, allocations: 59.59 kB / 0.7025 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/1.079, allocations: 297.4 kB / 0.7028 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/1.079, allocations: 20.56 kB / 0.7028 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/1.079, allocations: 24 kB / 0.7029 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/1.08, allocations: 323.7 kB / 0.7032 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.08, allocations: 3.938 kB / 0.7032 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/1.08, allocations: 12 kB / 0.7032 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/1.08, allocations: 12 kB / 0.7032 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/1.081, allocations: 205.6 kB / 0.7034 GB, free: 3.898 MB / 0.5137 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.0029/1.084, allocations: 1.534 MB / 0.7049 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/1.084, allocations: 130.5 kB / 0.705 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/1.085, allocations: 137 kB / 0.7051 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.085, allocations: 30.56 kB / 0.7052 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.906e-06/1.085, allocations: 0 / 0.7052 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001357/1.086, allocations: 293.5 kB / 0.7055 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/1.086, allocations: 55.36 kB / 0.7055 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/1.087, allocations: 308.5 kB / 0.7058 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.087, allocations: 25.7 kB / 0.7058 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/1.087, allocations: 192 kB / 0.706 GB, free: 1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/1.087, allocations: 47.34 kB / 0.7061 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/1.088, allocations: 4 kB / 0.7061 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000335/1.088, allocations: 334.8 kB / 0.7064 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/1.088, allocations: 63.95 kB / 0.7064 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/1.089, allocations: 117.1 kB / 0.7066 GB, free: 428 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/1.089, allocations: 82.08 kB / 0.7066 GB, free: 348 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.089, allocations: 4 kB / 0.7066 GB, free: 344 kB / 0.5137 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000717/1.09, allocations: 221.1 kB / 0.7068 GB, free: 116 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.09, allocations: 4 kB / 0.7068 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.09, allocations: 4.156 kB / 0.7069 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.09, allocations: 4 kB / 0.7069 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/1.09, allocations: 35.97 kB / 0.7069 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.09, allocations: 11.89 kB / 0.7069 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/1.09, allocations: 39.67 kB / 0.7069 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.09, allocations: 8 kB / 0.7069 GB, free: 8 kB / 0.5137 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.000263/1.091, allocations: 147.5 kB / 0.7071 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.091, allocations: 35.61 kB / 0.7071 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007657/1.092, allocations: 223.7 kB / 0.7073 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.092, allocations: 4 kB / 0.7073 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.092, allocations: 0 / 0.7073 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.092, allocations: 7.891 kB / 0.7073 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/1.094, allocations: 0.6805 MB / 0.708 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.094, allocations: 0 / 0.708 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/1.094, allocations: 46.8 kB / 0.7081 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.094, allocations: 4.219 kB / 0.7081 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/1.094, allocations: 8 kB / 0.7081 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.094, allocations: 0 / 0.7081 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.094, allocations: 4 kB / 0.7081 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/1.095, allocations: 433 kB / 0.7085 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/1.095, allocations: 120.7 kB / 0.7086 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/1.095, allocations: 0 / 0.7086 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/1.096, allocations: 23.98 kB / 0.7086 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/1.096, allocations: 11.98 kB / 0.7086 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/1.096, allocations: 4 kB / 0.7086 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003803/1.096, allocations: 223 kB / 0.7089 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/1.096, allocations: 0 / 0.7089 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007523/1.097, allocations: 71.84 kB / 0.7089 GB, free: 13.8 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.002105/1.099, allocations: 1.503 MB / 0.7104 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000709/1.1, allocations: 174.2 kB / 0.7106 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/1.1, allocations: 0 / 0.7106 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/1.1, allocations: 88.64 kB / 0.7106 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.101, allocations: 148.2 kB / 0.7108 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/1.106, allocations: 2.405 MB / 0.7131 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/1.107, allocations: 0.7875 MB / 0.7139 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004007/1.107, allocations: 67.98 kB / 0.714 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.108, allocations: 91.41 kB / 0.714 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/1.108, allocations: 0 / 0.714 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/1.146, allocations: 7.498 MB / 0.7214 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/1.146, allocations: 217.4 kB / 0.7216 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.446, allocations: 0 / 0.7216 GB, free: 0.8516 MB / 0.5294 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: