Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.825/0.825, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 183.8 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 447.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 92.2 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 269.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004207, allocations: 16.36 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.935/4.104, allocations: 1.873 GB / 2.647 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/4.104, allocations: 98.62 kB / 2.647 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.207/5.311, allocations: 442.9 MB / 3.08 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/5.311, allocations: 0 / 3.08 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.119e-05/5.311, allocations: 19.98 kB / 3.08 GB, free: 48.3 MB / 0.7136 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.001634/5.312, allocations: 0.9091 MB / 3.081 GB, free: 47.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/5.312, allocations: 12.02 kB / 3.081 GB, free: 47.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008853/5.313, allocations: 149.6 kB / 3.081 GB, free: 47.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/5.315, allocations: 0.6917 MB / 3.081 GB, free: 46.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/5.315, allocations: 29 kB / 3.081 GB, free: 46.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/5.315, allocations: 47.94 kB / 3.081 GB, free: 46.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/5.315, allocations: 442.4 kB / 3.082 GB, free: 45.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/5.315, allocations: 0 / 3.082 GB, free: 45.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/5.316, allocations: 19.94 kB / 3.082 GB, free: 45.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/5.316, allocations: 8 kB / 3.082 GB, free: 45.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/5.316, allocations: 319.8 kB / 3.082 GB, free: 45.59 MB / 0.7136 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.001674/5.318, allocations: 2 MB / 3.084 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/5.318, allocations: 222.4 kB / 3.084 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/5.319, allocations: 307.2 kB / 3.085 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/5.319, allocations: 34.56 kB / 3.085 GB, free: 42.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/5.319, allocations: 0 / 3.085 GB, free: 42.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0008682/5.319, allocations: 436.7 kB / 3.085 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/5.319, allocations: 59.34 kB / 3.085 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/5.32, allocations: 345.1 kB / 3.085 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/5.32, allocations: 29.7 kB / 3.085 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/5.32, allocations: 232.2 kB / 3.086 GB, free: 41.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/5.32, allocations: 90.73 kB / 3.086 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/5.32, allocations: 4 kB / 3.086 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/5.32, allocations: 350.8 kB / 3.086 GB, free: 41.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/5.32, allocations: 103.9 kB / 3.086 GB, free: 41.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/5.32, allocations: 198.2 kB / 3.086 GB, free: 40.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/5.321, allocations: 139 kB / 3.087 GB, free: 40.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/5.321, allocations: 0 / 3.087 GB, free: 40.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005242/5.321, allocations: 352.9 kB / 3.087 GB, free: 40.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.321, allocations: 8.562 kB / 3.087 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.321, allocations: 7.938 kB / 3.087 GB, free: 40.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/5.321, allocations: 4 kB / 3.087 GB, free: 40.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/5.322, allocations: 60.12 kB / 3.087 GB, free: 40.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/5.322, allocations: 4 kB / 3.087 GB, free: 40.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/5.322, allocations: 63.59 kB / 3.087 GB, free: 40.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/5.322, allocations: 15.98 kB / 3.087 GB, free: 40.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001529/5.322, allocations: 169.7 kB / 3.087 GB, free: 40.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/5.322, allocations: 47.39 kB / 3.087 GB, free: 40.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/5.323, allocations: 349 kB / 3.088 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/5.323, allocations: 8 kB / 3.088 GB, free: 39.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/5.323, allocations: 0 / 3.088 GB, free: 39.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/5.323, allocations: 0 / 3.088 GB, free: 39.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/5.324, allocations: 0.9073 MB / 3.088 GB, free: 38.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/5.324, allocations: 4 kB / 3.088 GB, free: 38.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/5.324, allocations: 51.97 kB / 3.089 GB, free: 38.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/5.324, allocations: 4.219 kB / 3.089 GB, free: 38.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/5.324, allocations: 8 kB / 3.089 GB, free: 38.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/5.324, allocations: 7.938 kB / 3.089 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/5.324, allocations: 4 kB / 3.089 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/5.325, allocations: 0.6905 MB / 3.089 GB, free: 37.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/5.325, allocations: 148.5 kB / 3.089 GB, free: 37.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/5.325, allocations: 4 kB / 3.089 GB, free: 37.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/5.326, allocations: 32.03 kB / 3.089 GB, free: 37.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/5.326, allocations: 23.94 kB / 3.089 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/5.326, allocations: 4 kB / 3.089 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002105/5.326, allocations: 287.1 kB / 3.09 GB, free: 37.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/5.326, allocations: 0 / 3.09 GB, free: 37.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000852/5.327, allocations: 255.8 kB / 3.09 GB, free: 37.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.00166/5.328, allocations: 1.531 MB / 3.091 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005241/5.329, allocations: 267.7 kB / 3.092 GB, free: 35.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.329, allocations: 0 / 3.092 GB, free: 35.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/5.329, allocations: 158.6 kB / 3.092 GB, free: 35.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/5.33, allocations: 204.8 kB / 3.092 GB, free: 34.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/5.331, allocations: 0.9389 MB / 3.093 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/5.331, allocations: 0.8353 MB / 3.094 GB, free: 33.03 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002906/5.332, allocations: 87.38 kB / 3.094 GB, free: 32.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/5.332, allocations: 39.42 kB / 3.094 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/5.332, allocations: 0 / 3.094 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.02971/5.362, allocations: 25.31 MB / 3.119 GB, free: 7.699 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)