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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 106.3 kB / 15.99 MB, free: 5.891 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.001468/0.001468, allocations: 187.7 kB / 16.91 MB, free: 5.746 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002372/0.002372, allocations: 294.8 kB / 291 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9966/0.9966, allocations: 178.6 MB / 0.5076 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002617, allocations: 98.7 kB / 0.6066 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1589, allocations: 89.14 MB / 0.6936 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4712/0.6301, allocations: 177 MB / 0.8665 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009517/0.6397, allocations: 7.776 MB / 0.8741 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006343/0.6404, allocations: 18.19 kB / 0.8741 GB, free: 260 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.6411, allocations: 206 kB / 0.8743 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.6441, allocations: 1.148 MB / 0.8754 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.6457, allocations: 0.6658 MB / 0.8761 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.6469, allocations: 1.085 MB / 0.8771 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.6474, allocations: 391.7 kB / 0.8775 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.6502, allocations: 0.822 MB / 0.8783 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006903/0.6509, allocations: 468.2 kB / 0.8788 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.651, allocations: 37.22 kB / 0.8788 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.6528, allocations: 0.9842 MB / 0.8798 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.653, allocations: 151.3 kB / 0.8799 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.6532, allocations: 256.9 kB / 0.8801 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009083/0.6541, allocations: 0.6606 MB / 0.8808 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6542, allocations: 0 / 0.8808 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6542, allocations: 0 / 0.8808 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.6542, allocations: 2.688 kB / 0.8808 GB, free: 11.95 MB / 0.6075 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.001154/0.6553, allocations: 0.8002 MB / 0.8816 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6554, allocations: 10.22 kB / 0.8816 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.6563, allocations: 161.8 kB / 0.8817 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.6568, allocations: 376.6 kB / 0.8821 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.6568, allocations: 29.78 kB / 0.8821 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.6569, allocations: 39.94 kB / 0.8822 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.6577, allocations: 442.4 kB / 0.8826 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6577, allocations: 7.938 kB / 0.8826 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.6577, allocations: 16 kB / 0.8826 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6578, allocations: 11.94 kB / 0.8826 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.6584, allocations: 315.8 kB / 0.8829 GB, free: 10 MB / 0.6075 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.002205/0.6606, allocations: 2.019 MB / 0.8849 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.661, allocations: 240 kB / 0.8851 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.6613, allocations: 158.6 kB / 0.8853 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/0.6619, allocations: 307.2 kB / 0.8856 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6619, allocations: 30.56 kB / 0.8856 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/0.6619, allocations: 0 / 0.8856 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001026/0.6629, allocations: 458.8 kB / 0.886 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.663, allocations: 55.41 kB / 0.8861 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.6634, allocations: 394 kB / 0.8865 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.6635, allocations: 29.7 kB / 0.8865 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.6636, allocations: 232.2 kB / 0.8867 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.6637, allocations: 90.75 kB / 0.8868 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.6638, allocations: 57.69 kB / 0.8869 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.664, allocations: 350.7 kB / 0.8872 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.6643, allocations: 111.9 kB / 0.8873 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.6645, allocations: 183.3 kB / 0.8875 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.6651, allocations: 308.4 kB / 0.8878 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6651, allocations: 0 / 0.8878 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006202/0.6657, allocations: 358.6 kB / 0.8881 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6657, allocations: 4.219 kB / 0.8881 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6657, allocations: 8 kB / 0.8881 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6658, allocations: 4 kB / 0.8881 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.666, allocations: 59.91 kB / 0.8882 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.6661, allocations: 7.938 kB / 0.8882 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.6663, allocations: 59.44 kB / 0.8882 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.6664, allocations: 12 kB / 0.8883 GB, free: 4.188 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.6666, allocations: 170.2 kB / 0.8884 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.6667, allocations: 40.78 kB / 0.8885 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.6674, allocations: 363.6 kB / 0.8888 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.6674, allocations: 4 kB / 0.8888 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6674, allocations: 0 / 0.8888 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6674, allocations: 4 kB / 0.8888 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.6688, allocations: 0.9371 MB / 0.8897 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6688, allocations: 0 / 0.8897 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.6691, allocations: 47.91 kB / 0.8898 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6691, allocations: 4 kB / 0.8898 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.6691, allocations: 14 kB / 0.8898 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.6691, allocations: 4 kB / 0.8898 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6692, allocations: 3.938 kB / 0.8898 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.6701, allocations: 0.6336 MB / 0.8904 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.6703, allocations: 156.4 kB / 0.8906 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.6704, allocations: 11.94 kB / 0.8906 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.6706, allocations: 23.97 kB / 0.8906 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.6707, allocations: 19.98 kB / 0.8906 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.6707, allocations: 16.05 kB / 0.8906 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002871/0.671, allocations: 279.1 kB / 0.8909 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.671, allocations: 0 / 0.8909 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004465/0.6715, allocations: 107.8 kB / 0.891 GB, free: 1.238 MB / 0.6075 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 (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.000432/0.6719, allocations: 180.9 kB / 0.8912 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006105/0.6725, allocations: 295.6 kB / 0.8915 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6726, allocations: 4 kB / 0.8915 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.6728, allocations: 152.7 kB / 0.8916 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.6739, allocations: 224.1 kB / 0.8918 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.6753, allocations: 0.9896 MB / 0.8928 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.6758, allocations: 0.8194 MB / 0.8936 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.6759, allocations: 43.42 kB / 0.8936 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.6759, allocations: 0 / 0.8936 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.01081/0.6867, allocations: 6.799 MB / 0.9003 GB, free: 7.77 MB / 0.6231 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)