Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001632/0.001632, 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.00129/0.00129, allocations: 199.7 kB / 16.53 MB, free: 6.391 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.581/1.581, allocations: 205.1 MB / 222.4 MB, free: 4.355 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.838/1.838, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001503/0.001503, allocations: 71.88 kB / 0.6715 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2881, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7785/1.067, allocations: 179.4 MB / 0.9586 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008819/1.076, allocations: 7.83 MB / 0.9662 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008297/1.076, allocations: 21.28 kB / 0.9662 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/1.077, allocations: 248.2 kB / 0.9665 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003752/1.081, allocations: 1.221 MB / 0.9677 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/1.083, allocations: 0.7271 MB / 0.9684 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001492/1.085, allocations: 1.081 MB / 0.9694 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006154/1.085, allocations: 404.4 kB / 0.9698 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/1.088, allocations: 0.8383 MB / 0.9706 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/1.089, allocations: 438.5 kB / 0.971 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/1.089, allocations: 36.97 kB / 0.9711 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/1.091, allocations: 0.9427 MB / 0.972 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/1.091, allocations: 165.9 kB / 0.9722 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002976/1.091, allocations: 246.3 kB / 0.9724 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/1.093, allocations: 0.9316 MB / 0.9733 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.093, allocations: 3.688 kB / 0.9733 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.033e-06/1.093, allocations: 0 / 0.9733 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.093, allocations: 0 / 0.9733 GB, free: 14.92 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001285/1.094, allocations: 0.8017 MB / 0.9741 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.094, allocations: 14 kB / 0.9741 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/1.095, allocations: 150.4 kB / 0.9742 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/1.096, allocations: 379.5 kB / 0.9746 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/1.096, allocations: 31.38 kB / 0.9746 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/1.096, allocations: 42.91 kB / 0.9747 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/1.097, allocations: 444.1 kB / 0.9751 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.097, allocations: 1.375 kB / 0.9751 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.097, allocations: 19.34 kB / 0.9751 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.097, allocations: 13.56 kB / 0.9751 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/1.097, allocations: 318.4 kB / 0.9754 GB, free: 13.94 MB / 0.7325 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.002307/1.1, allocations: 2.026 MB / 0.9774 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/1.1, allocations: 240 kB / 0.9776 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/1.1, allocations: 153.4 kB / 0.9778 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/1.101, allocations: 307.4 kB / 0.9781 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/1.101, allocations: 43.2 kB / 0.9781 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/1.101, allocations: 4 kB / 0.9781 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001118/1.102, allocations: 445.9 kB / 0.9786 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.102, allocations: 56.56 kB / 0.9786 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/1.103, allocations: 399.2 kB / 0.979 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/1.103, allocations: 25.7 kB / 0.979 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/1.103, allocations: 235.3 kB / 0.9792 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/1.103, allocations: 76.64 kB / 0.9793 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.103, allocations: 60.22 kB / 0.9794 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.103, allocations: 356.6 kB / 0.9797 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/1.104, allocations: 109.5 kB / 0.9798 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/1.104, allocations: 187.4 kB / 0.98 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/1.105, allocations: 301.5 kB / 0.9803 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.105, allocations: 0 / 0.9803 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006399/1.105, allocations: 369.1 kB / 0.9806 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.105, allocations: 9.125 kB / 0.9806 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.105, allocations: 6.406 kB / 0.9806 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.105, allocations: 3.5 kB / 0.9806 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.106, allocations: 54.77 kB / 0.9807 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.106, allocations: 2.531 kB / 0.9807 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/1.106, allocations: 45.25 kB / 0.9807 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/1.106, allocations: 14.69 kB / 0.9808 GB, free: 10.7 MB / 0.7325 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.0001901/1.106, allocations: 169.2 kB / 0.9809 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/1.106, allocations: 41.41 kB / 0.981 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/1.107, allocations: 374.2 kB / 0.9813 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.107, allocations: 2.781 kB / 0.9813 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.107, allocations: 0 / 0.9813 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.107, allocations: 0 / 0.9813 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/1.108, allocations: 0.9397 MB / 0.9822 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.108, allocations: 2.75 kB / 0.9822 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/1.109, allocations: 56.62 kB / 0.9823 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.109, allocations: 2.562 kB / 0.9823 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/1.109, allocations: 10.47 kB / 0.9823 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.109, allocations: 2.969 kB / 0.9823 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.109, allocations: 6.719 kB / 0.9823 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/1.11, allocations: 0.6219 MB / 0.9829 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.11, allocations: 151.5 kB / 0.9831 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/1.11, allocations: 7.594 kB / 0.9831 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/1.11, allocations: 15.48 kB / 0.9831 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/1.11, allocations: 24.12 kB / 0.9831 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/1.11, allocations: 10.53 kB / 0.9831 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003213/1.111, allocations: 279.4 kB / 0.9834 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 0 / 0.9834 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005505/1.111, allocations: 109.6 kB / 0.9835 GB, free: 8.816 MB / 0.7325 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.0004881/1.112, allocations: 175.5 kB / 0.9837 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006312/1.112, allocations: 300.4 kB / 0.9839 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.112, allocations: 0 / 0.9839 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/1.113, allocations: 152.9 kB / 0.9841 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/1.114, allocations: 229.8 kB / 0.9843 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/1.115, allocations: 0.8113 MB / 0.9851 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.115, allocations: 0.8241 MB / 0.9859 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003226/1.116, allocations: 105.1 kB / 0.986 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/1.116, allocations: 32.5 kB / 0.986 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/1.116, allocations: 3.938 kB / 0.986 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of Templates: time 0.01564/1.132, allocations: 7.611 MB / 0.9935 GB, free: 3.25 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)