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.001704/0.001704, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001868/0.001868, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.355/1.355, allocations: 205.1 MB / 222.1 MB, free: 4.586 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.735/1.735, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.002429/0.002429, allocations: 64.28 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2354, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5841/0.8195, allocations: 165.3 MB / 0.9444 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006492/0.8261, allocations: 6.477 MB / 0.9507 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.8268, allocations: 10.81 kB / 0.9507 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.8275, allocations: 149.1 kB / 0.9509 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.83, allocations: 0.783 MB / 0.9516 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.831, allocations: 296.3 kB / 0.9519 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.8318, allocations: 0.7192 MB / 0.9526 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.8322, allocations: 261.5 kB / 0.9529 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.8334, allocations: 0.5462 MB / 0.9534 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.8339, allocations: 286.3 kB / 0.9537 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.834, allocations: 23.38 kB / 0.9537 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009143/0.8349, allocations: 349.2 kB / 0.954 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.8351, allocations: 116.5 kB / 0.9541 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.8354, allocations: 164.2 kB / 0.9543 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000987/0.8364, allocations: 497.3 kB / 0.9548 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.8364, allocations: 3.609 kB / 0.9548 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8364, allocations: 0 / 0.9548 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.8364, allocations: 0.5312 kB / 0.9548 GB, free: 5.758 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.001459/0.8379, allocations: 0.6182 MB / 0.9554 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.8379, allocations: 9 kB / 0.9554 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.631e-05/0.838, allocations: 63.67 kB / 0.9554 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.8384, allocations: 60.09 kB / 0.9555 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.8389, allocations: 314.5 kB / 0.9558 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.8389, allocations: 19.59 kB / 0.9558 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.839, allocations: 27.53 kB / 0.9558 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.8397, allocations: 314.9 kB / 0.9561 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.8397, allocations: 4.75 kB / 0.9561 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.8398, allocations: 10.66 kB / 0.9562 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.8398, allocations: 5.594 kB / 0.9562 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.8403, allocations: 204 kB / 0.9564 GB, free: 20.9 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.001526/0.8418, allocations: 1.539 MB / 0.9579 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.8421, allocations: 126.9 kB / 0.958 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.8423, allocations: 90.06 kB / 0.9581 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.843, allocations: 299.8 kB / 0.9584 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.843, allocations: 39.38 kB / 0.9584 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.8431, allocations: 0 / 0.9584 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008748/0.8439, allocations: 268.4 kB / 0.9586 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.844, allocations: 53.25 kB / 0.9587 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.8444, allocations: 310.1 kB / 0.959 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.8445, allocations: 35.47 kB / 0.959 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.8446, allocations: 182.5 kB / 0.9592 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.8447, allocations: 45.41 kB / 0.9592 GB, free: 19 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.8448, allocations: 36.03 kB / 0.9593 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8449, allocations: 335.3 kB / 0.9596 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.8451, allocations: 60.23 kB / 0.9597 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.8453, allocations: 117.6 kB / 0.9598 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.8457, allocations: 174.8 kB / 0.9599 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8457, allocations: 5.031 kB / 0.9599 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004954/0.8462, allocations: 216.8 kB / 0.9601 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.8463, allocations: 8.688 kB / 0.9602 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8463, allocations: 1.594 kB / 0.9602 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8463, allocations: 2.062 kB / 0.9602 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.8465, allocations: 37.53 kB / 0.9602 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.8465, allocations: 4.5 kB / 0.9602 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.8468, allocations: 40.69 kB / 0.9602 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.8468, allocations: 6.719 kB / 0.9602 GB, free: 18.5 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.0001745/0.847, allocations: 152.2 kB / 0.9604 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.8471, allocations: 24.88 kB / 0.9604 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.8476, allocations: 214.5 kB / 0.9606 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8476, allocations: 6.031 kB / 0.9606 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8476, allocations: 0 / 0.9606 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8476, allocations: 0.5 kB / 0.9606 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.8487, allocations: 0.6887 MB / 0.9613 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.8487, allocations: 3.969 kB / 0.9613 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.8489, allocations: 27.06 kB / 0.9613 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.8489, allocations: 4.062 kB / 0.9613 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.8489, allocations: 7.75 kB / 0.9613 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.8489, allocations: 11.53 kB / 0.9613 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8489, allocations: 2.969 kB / 0.9613 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.8494, allocations: 328.2 kB / 0.9617 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.8495, allocations: 121.3 kB / 0.9618 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.8495, allocations: 2.469 kB / 0.9618 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.8497, allocations: 29.94 kB / 0.9618 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.8498, allocations: 13.38 kB / 0.9618 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.8498, allocations: 8.219 kB / 0.9618 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002441/0.8501, allocations: 222.7 kB / 0.962 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8501, allocations: 0 / 0.962 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000446/0.8505, allocations: 72.05 kB / 0.9621 GB, free: 17.54 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.0009614/0.8515, allocations: 0.9216 MB / 0.963 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.8519, allocations: 166.5 kB / 0.9632 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8519, allocations: 0 / 0.9632 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.8521, allocations: 83.81 kB / 0.9632 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.853, allocations: 156.6 kB / 0.9634 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.8564, allocations: 2.896 MB / 0.9662 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.8567, allocations: 0.7895 MB / 0.967 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.857, allocations: 64.92 kB / 0.9671 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.8571, allocations: 89.28 kB / 0.9671 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.8571, allocations: 0 / 0.9671 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.88, allocations: 7.878 MB / 0.9748 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.8803, allocations: 243 kB / 0.9751 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.804, allocations: 0 / 0.9751 GB, free: 13.44 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)