Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001269/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 68.59 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2456, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5998/0.8454, allocations: 165.3 MB / 0.9442 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006224/0.8517, allocations: 6.542 MB / 0.9506 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004922/0.8522, allocations: 12.75 kB / 0.9506 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.8528, allocations: 137.5 kB / 0.9507 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.8548, allocations: 0.7841 MB / 0.9515 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.8556, allocations: 305.6 kB / 0.9518 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009319/0.8565, allocations: 1.011 MB / 0.9528 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.8569, allocations: 231.2 kB / 0.953 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.858, allocations: 0.5107 MB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.8584, allocations: 284.2 kB / 0.9538 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.8585, allocations: 20.12 kB / 0.9538 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007602/0.8593, allocations: 388.9 kB / 0.9542 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.8594, allocations: 101.7 kB / 0.9543 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.8596, allocations: 154.6 kB / 0.9544 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.8603, allocations: 483.5 kB / 0.9549 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8603, allocations: 0 / 0.9549 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8603, allocations: 2.406 kB / 0.9549 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.8603, allocations: 0 / 0.9549 GB, free: 5.504 MB / 0.7325 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.001079/0.8614, allocations: 0.6215 MB / 0.9555 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.8615, allocations: 10.12 kB / 0.9555 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.8615, allocations: 60.03 kB / 0.9556 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.8619, allocations: 61.25 kB / 0.9556 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.8622, allocations: 307.1 kB / 0.9559 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.8623, allocations: 25.28 kB / 0.9559 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.8623, allocations: 23.84 kB / 0.9559 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.8628, allocations: 320.4 kB / 0.9563 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.8628, allocations: 1.156 kB / 0.9563 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.8629, allocations: 9.531 kB / 0.9563 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.8629, allocations: 6.531 kB / 0.9563 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.8633, allocations: 203.1 kB / 0.9565 GB, free: 20.65 MB / 0.7481 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.001532/0.8649, allocations: 1.542 MB / 0.958 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.8652, allocations: 123.4 kB / 0.9581 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.8654, allocations: 91.42 kB / 0.9582 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/0.8661, allocations: 308.4 kB / 0.9585 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8661, allocations: 35.72 kB / 0.9585 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.8661, allocations: 0.5 kB / 0.9585 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008635/0.867, allocations: 267.7 kB / 0.9588 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.867, allocations: 53.03 kB / 0.9588 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.8675, allocations: 309.2 kB / 0.9591 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8675, allocations: 30.45 kB / 0.9591 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.8676, allocations: 182.3 kB / 0.9593 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.8677, allocations: 40.84 kB / 0.9593 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.8678, allocations: 37.92 kB / 0.9594 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.8679, allocations: 340.7 kB / 0.9597 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.8681, allocations: 65.2 kB / 0.9598 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.8684, allocations: 113.7 kB / 0.9599 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.8687, allocations: 172.9 kB / 0.96 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8688, allocations: 8.531 kB / 0.9601 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005144/0.8693, allocations: 222.6 kB / 0.9603 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.8693, allocations: 5.531 kB / 0.9603 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8693, allocations: 5.703 kB / 0.9603 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8693, allocations: 5.062 kB / 0.9603 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8696, allocations: 31.36 kB / 0.9603 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8696, allocations: 4.516 kB / 0.9603 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.8698, allocations: 38.55 kB / 0.9603 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.8698, allocations: 10.75 kB / 0.9604 GB, free: 18.24 MB / 0.7481 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.0001515/0.87, allocations: 153.4 kB / 0.9605 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.8701, allocations: 25.56 kB / 0.9605 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.8705, allocations: 212.7 kB / 0.9607 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.8706, allocations: 1.156 kB / 0.9607 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8706, allocations: 1.438 kB / 0.9607 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8706, allocations: 4 kB / 0.9607 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.8716, allocations: 0.6871 MB / 0.9614 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8716, allocations: 3.375 kB / 0.9614 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.8717, allocations: 30.61 kB / 0.9614 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.8717, allocations: 2.906 kB / 0.9614 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.8718, allocations: 6.656 kB / 0.9615 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.8718, allocations: 5.062 kB / 0.9615 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8718, allocations: 6.719 kB / 0.9615 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.8723, allocations: 330.5 kB / 0.9618 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.8724, allocations: 124.8 kB / 0.9619 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.8725, allocations: 2.219 kB / 0.9619 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.8727, allocations: 26.34 kB / 0.9619 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.8727, allocations: 9.234 kB / 0.9619 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.8728, allocations: 8.266 kB / 0.9619 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002377/0.873, allocations: 227.1 kB / 0.9622 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.873, allocations: 5.203 kB / 0.9622 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004125/0.8734, allocations: 69.66 kB / 0.9622 GB, free: 17.29 MB / 0.7481 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.001076/0.8745, allocations: 0.9238 MB / 0.9631 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.8749, allocations: 151.6 kB / 0.9633 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8749, allocations: 0 / 0.9633 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.8751, allocations: 91.17 kB / 0.9634 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.876, allocations: 140.4 kB / 0.9635 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.8793, allocations: 2.908 MB / 0.9663 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.8797, allocations: 0.7864 MB / 0.9671 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.8799, allocations: 56.09 kB / 0.9672 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.8801, allocations: 95.02 kB / 0.9672 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.8801, allocations: 0 / 0.9672 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.9011, allocations: 7.677 MB / 0.9747 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.9014, allocations: 243.8 kB / 0.975 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.771, allocations: 4 kB / 0.975 GB, free: 13.2 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)