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.001031/0.001031, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9219/0.9219, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.0018, allocations: 93.7 kB / 0.5952 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1509, allocations: 86.99 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5055/0.6564, allocations: 179.4 MB / 0.8554 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008621/0.6651, allocations: 7.83 MB / 0.863 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.6658, allocations: 20.03 kB / 0.863 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.6664, allocations: 247.9 kB / 0.8633 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.6694, allocations: 1.216 MB / 0.8644 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.6711, allocations: 0.7253 MB / 0.8652 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.6724, allocations: 1.084 MB / 0.8662 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.6729, allocations: 397.4 kB / 0.8666 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.6752, allocations: 0.8357 MB / 0.8674 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.6759, allocations: 432.8 kB / 0.8678 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.676, allocations: 35.22 kB / 0.8679 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.6778, allocations: 0.9478 MB / 0.8688 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.678, allocations: 157.3 kB / 0.8689 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.6784, allocations: 247.1 kB / 0.8692 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.6803, allocations: 0.9301 MB / 0.8701 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6803, allocations: 2.812 kB / 0.8701 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6803, allocations: 0 / 0.8701 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.6803, allocations: 0 / 0.8701 GB, free: 14.03 MB / 0.5919 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.001337/0.6817, allocations: 0.8071 MB / 0.8709 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6817, allocations: 9.938 kB / 0.8709 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.6827, allocations: 154.3 kB / 0.871 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.6833, allocations: 381.4 kB / 0.8714 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.6833, allocations: 28.16 kB / 0.8714 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.6834, allocations: 39.56 kB / 0.8714 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.6841, allocations: 451.4 kB / 0.8719 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6841, allocations: 0 / 0.8719 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.6842, allocations: 13.44 kB / 0.8719 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.6842, allocations: 11.31 kB / 0.8719 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.6848, allocations: 324.7 kB / 0.8722 GB, free: 12.45 MB / 0.5919 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.002071/0.6869, allocations: 2.023 MB / 0.8742 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.6873, allocations: 241.3 kB / 0.8744 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.6875, allocations: 152.6 kB / 0.8746 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/0.6881, allocations: 309.6 kB / 0.8749 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.6881, allocations: 36.41 kB / 0.8749 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.6881, allocations: 0 / 0.8749 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009669/0.6891, allocations: 455.7 kB / 0.8753 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.6891, allocations: 61.83 kB / 0.8754 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.6895, allocations: 393.1 kB / 0.8758 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.6895, allocations: 32.95 kB / 0.8758 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.6897, allocations: 226.7 kB / 0.876 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.6898, allocations: 84.36 kB / 0.8761 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.6899, allocations: 63.28 kB / 0.8762 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.69, allocations: 354.5 kB / 0.8765 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.6902, allocations: 109.4 kB / 0.8766 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.6905, allocations: 187 kB / 0.8768 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.691, allocations: 299.4 kB / 0.8771 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.691, allocations: 3.938 kB / 0.8771 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006108/0.6916, allocations: 369.8 kB / 0.8774 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6916, allocations: 5.312 kB / 0.8774 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6916, allocations: 2.562 kB / 0.8774 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6917, allocations: 5.125 kB / 0.8774 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.6919, allocations: 63.34 kB / 0.8775 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6919, allocations: 3.797 kB / 0.8775 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.6922, allocations: 44.02 kB / 0.8775 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.6922, allocations: 10.09 kB / 0.8775 GB, free: 8.176 MB / 0.5919 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.0001725/0.6924, allocations: 169.9 kB / 0.8777 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.6925, allocations: 43.16 kB / 0.8777 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006576/0.6931, allocations: 369.5 kB / 0.8781 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6932, allocations: 2.469 kB / 0.8781 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6932, allocations: 4 kB / 0.8781 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6932, allocations: 0 / 0.8781 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.6945, allocations: 0.9347 MB / 0.879 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6945, allocations: 0 / 0.879 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.6947, allocations: 49.06 kB / 0.8791 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6948, allocations: 4.719 kB / 0.8791 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.6948, allocations: 12.91 kB / 0.8791 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6948, allocations: 2.562 kB / 0.8791 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6948, allocations: 2.656 kB / 0.8791 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.6957, allocations: 0.6319 MB / 0.8797 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.6958, allocations: 147.5 kB / 0.8798 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.6959, allocations: 6.219 kB / 0.8798 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.6961, allocations: 13.64 kB / 0.8799 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.6962, allocations: 26 kB / 0.8799 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.6962, allocations: 10.75 kB / 0.8799 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000262/0.6965, allocations: 282.8 kB / 0.8802 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6965, allocations: 4.062 kB / 0.8802 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004438/0.6969, allocations: 110 kB / 0.8803 GB, free: 6.25 MB / 0.5919 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.0003844/0.6973, allocations: 184.2 kB / 0.8805 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.6979, allocations: 307.7 kB / 0.8807 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6979, allocations: 0 / 0.8807 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.6982, allocations: 148.3 kB / 0.8809 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6992, allocations: 222 kB / 0.8811 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7005, allocations: 0.8108 MB / 0.8819 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.7009, allocations: 0.8313 MB / 0.8827 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.7012, allocations: 98.27 kB / 0.8828 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.7013, allocations: 36.59 kB / 0.8828 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.7013, allocations: 0 / 0.8828 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.01323/0.7145, allocations: 7.625 MB / 0.8903 GB, free: 15.75 MB / 0.6075 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)