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.001505/0.001505, allocations: 100.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7527/0.7527, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 55.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3635, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1893/0.5529, allocations: 167.5 MB / 0.7309 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008625/0.5615, allocations: 6.546 MB / 0.7373 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.5621, allocations: 11.94 kB / 0.7373 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.5626, allocations: 162.8 kB / 0.7374 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.5649, allocations: 0.844 MB / 0.7383 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.5657, allocations: 334.1 kB / 0.7386 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007156/0.5665, allocations: 0.7213 MB / 0.7393 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.5669, allocations: 274.8 kB / 0.7395 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009801/0.5679, allocations: 0.5526 MB / 0.7401 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.5682, allocations: 266.9 kB / 0.7403 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.5683, allocations: 24 kB / 0.7404 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.5689, allocations: 339.2 kB / 0.7407 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.569, allocations: 99.7 kB / 0.7408 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.5692, allocations: 167.1 kB / 0.7409 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.5699, allocations: 466.6 kB / 0.7414 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5699, allocations: 0 / 0.7414 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.57, allocations: 0 / 0.7414 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.57, allocations: 0 / 0.7414 GB, free: 7.957 MB / 0.5762 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.001132/0.5711, allocations: 0.6232 MB / 0.742 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5712, allocations: 8.625 kB / 0.742 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.019e-05/0.5713, allocations: 58.55 kB / 0.742 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.5716, allocations: 63.52 kB / 0.7421 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.5721, allocations: 305.3 kB / 0.7424 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.5721, allocations: 20.56 kB / 0.7424 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.5722, allocations: 27.98 kB / 0.7424 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.5728, allocations: 315.6 kB / 0.7427 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5728, allocations: 7.938 kB / 0.7428 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.5729, allocations: 15.94 kB / 0.7428 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.5729, allocations: 8 kB / 0.7428 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.5735, allocations: 205.5 kB / 0.743 GB, free: 6.195 MB / 0.5762 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.001715/0.5752, allocations: 1.538 MB / 0.7445 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.5756, allocations: 122.5 kB / 0.7446 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.5758, allocations: 92.8 kB / 0.7447 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006385/0.5764, allocations: 303.2 kB / 0.745 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.5765, allocations: 38.55 kB / 0.745 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5765, allocations: 0 / 0.745 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007555/0.5772, allocations: 268.2 kB / 0.7453 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5773, allocations: 59.41 kB / 0.7453 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.5776, allocations: 316.4 kB / 0.7456 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5776, allocations: 25.7 kB / 0.7456 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5777, allocations: 184.2 kB / 0.7458 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.5778, allocations: 39.36 kB / 0.7459 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.5779, allocations: 41.7 kB / 0.7459 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5781, allocations: 338.8 kB / 0.7462 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.5783, allocations: 55.95 kB / 0.7463 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.5785, allocations: 121 kB / 0.7464 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.5789, allocations: 180.9 kB / 0.7466 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5789, allocations: 0 / 0.7466 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004028/0.5793, allocations: 209.2 kB / 0.7468 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5793, allocations: 6.5 kB / 0.7468 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5793, allocations: 8 kB / 0.7468 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5794, allocations: 3.938 kB / 0.7468 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5795, allocations: 39.97 kB / 0.7468 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5796, allocations: 3.938 kB / 0.7468 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5797, allocations: 27.69 kB / 0.7468 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.5798, allocations: 11.98 kB / 0.7469 GB, free: 1.914 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.5799, allocations: 149.8 kB / 0.747 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.58, allocations: 27.72 kB / 0.747 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.5805, allocations: 204.3 kB / 0.7472 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5805, allocations: 3.984 kB / 0.7472 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.5805, allocations: 4 kB / 0.7472 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5805, allocations: 0 / 0.7472 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/0.5816, allocations: 0.6834 MB / 0.7479 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5816, allocations: 0 / 0.7479 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.5817, allocations: 35.98 kB / 0.7479 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5817, allocations: 224 / 0.7479 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.5817, allocations: 11.94 kB / 0.7479 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5818, allocations: 7.938 kB / 0.748 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5818, allocations: 0 / 0.748 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.5822, allocations: 341 kB / 0.7483 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5824, allocations: 116.8 kB / 0.7484 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.5824, allocations: 7.922 kB / 0.7484 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5826, allocations: 12 kB / 0.7484 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.5827, allocations: 11.98 kB / 0.7484 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.5827, allocations: 8 kB / 0.7484 GB, free: 160 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.2534/0.8361, allocations: 220.5 kB / 0.7486 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8362, allocations: 3.375 kB / 0.7486 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006491/0.8369, allocations: 71.34 kB / 0.7487 GB, free: 173.6 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.838, allocations: 0.9218 MB / 0.7496 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.8385, allocations: 162.7 kB / 0.7498 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8385, allocations: 0 / 0.7498 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.8388, allocations: 86.75 kB / 0.7498 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.8397, allocations: 151.8 kB / 0.75 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.8431, allocations: 2.812 MB / 0.7527 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.8434, allocations: 0.788 MB / 0.7535 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.8437, allocations: 62.38 kB / 0.7536 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.8438, allocations: 91.3 kB / 0.7537 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.8438, allocations: 0.9688 kB / 0.7537 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.8735, allocations: 8.032 MB / 0.7615 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.042, allocations: 7.141 kB / 0.7615 GB, free: 168.4 MB / 0.5762 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/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)