Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.411/2.411, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 183.6 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.419/2.419, allocations: 205.4 MB / 0.5764 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001702/0.001701, allocations: 99.94 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007565/0.0007567, allocations: 13.53 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2461, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.419/7.665, allocations: 2.228 GB / 3.127 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/7.666, allocations: 89.39 kB / 3.127 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.14/9.806, allocations: 425.4 MB / 3.542 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.495e-06/9.806, allocations: 0 / 3.542 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.323e-05/9.806, allocations: 16 kB / 3.542 GB, free: 168.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002914/9.809, allocations: 0.9314 MB / 3.543 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/9.809, allocations: 8.031 kB / 3.543 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/9.809, allocations: 70.53 kB / 3.543 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/9.811, allocations: 160.4 kB / 3.543 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/9.813, allocations: 0.6912 MB / 3.544 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/9.813, allocations: 36.98 kB / 3.544 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/9.814, allocations: 43.91 kB / 3.544 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/9.815, allocations: 378.4 kB / 3.544 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/9.815, allocations: 4 kB / 3.544 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/9.815, allocations: 16 kB / 3.544 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/9.815, allocations: 12 kB / 3.544 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/9.816, allocations: 351.8 kB / 3.545 GB, free: 166 MB / 0.8855 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.003024/9.819, allocations: 1.403 MB / 3.546 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/9.82, allocations: 307.1 kB / 3.546 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/9.82, allocations: 303.5 kB / 3.547 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/9.82, allocations: 38.84 kB / 3.547 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/9.82, allocations: 0 / 3.547 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001914/9.822, allocations: 0.5122 MB / 3.547 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/9.822, allocations: 51.41 kB / 3.547 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/9.823, allocations: 336.8 kB / 3.548 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/9.823, allocations: 33.7 kB / 3.548 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/9.823, allocations: 204.7 kB / 3.548 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/9.823, allocations: 122.2 kB / 3.548 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/9.823, allocations: 8 kB / 3.548 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001006/9.823, allocations: 350.7 kB / 3.548 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/9.824, allocations: 131.9 kB / 3.548 GB, free: 162 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/9.824, allocations: 185.5 kB / 3.549 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/9.825, allocations: 147.9 kB / 3.549 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/9.825, allocations: 0 / 3.549 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001121/9.826, allocations: 393.9 kB / 3.549 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/9.826, allocations: 7.953 kB / 3.549 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/9.826, allocations: 4.031 kB / 3.549 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/9.826, allocations: 4 kB / 3.549 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/9.827, allocations: 67.89 kB / 3.549 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/9.827, allocations: 4 kB / 3.549 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/9.827, allocations: 55.58 kB / 3.549 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/9.827, allocations: 15.98 kB / 3.549 GB, free: 161.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0003067/9.828, allocations: 165.8 kB / 3.549 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/9.828, allocations: 39.53 kB / 3.549 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/9.829, allocations: 445.7 kB / 3.55 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/9.829, allocations: 7.938 kB / 3.55 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/9.829, allocations: 0 / 3.55 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/9.829, allocations: 3.938 kB / 3.55 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/9.832, allocations: 1.013 MB / 3.551 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/9.832, allocations: 8.031 kB / 3.551 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/9.832, allocations: 67.91 kB / 3.551 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/9.832, allocations: 4 kB / 3.551 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/9.832, allocations: 11.94 kB / 3.551 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/9.832, allocations: 7.984 kB / 3.551 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/9.832, allocations: 0 / 3.551 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/9.834, allocations: 0.7945 MB / 3.552 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/9.835, allocations: 144.6 kB / 3.552 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/9.835, allocations: 8 kB / 3.552 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/9.835, allocations: 31.97 kB / 3.552 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/9.835, allocations: 35.86 kB / 3.552 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/9.835, allocations: 12 kB / 3.552 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004028/9.836, allocations: 271.1 kB / 3.552 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.9e-07/9.836, allocations: 0 / 3.552 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001369/9.837, allocations: 263.8 kB / 3.552 GB, free: 157.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * 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 (33): * Single equations (assignments): 33 * 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.00473/9.842, allocations: 3.228 MB / 3.556 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00115/9.843, allocations: 328.2 kB / 3.556 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/9.843, allocations: 0 / 3.556 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000521/9.844, allocations: 187.9 kB / 3.556 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/9.845, allocations: 204.4 kB / 3.556 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/9.851, allocations: 2.889 MB / 3.559 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/9.852, allocations: 0.8432 MB / 3.56 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006147/9.852, allocations: 100.2 kB / 3.56 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/9.853, allocations: 143.4 kB / 3.56 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.753e-06/9.853, allocations: 0 / 3.56 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/9.968, allocations: 34.88 MB / 3.594 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/9.968, allocations: 230.5 kB / 3.594 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.31/14.28, allocations: 4 kB / 3.594 GB, free: 114.6 MB / 0.8855 GB