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.001195/0.001195, allocations: 100.7 kB / 16.37 MB, free: 6.465 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.001122/0.001122, allocations: 192.5 kB / 17.31 MB, free: 5.82 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.745/1.745, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001419/0.001419, allocations: 82.86 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2523, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6006/0.853, allocations: 179.4 MB / 0.96 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008494/0.8615, allocations: 7.817 MB / 0.9676 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.8622, allocations: 19.88 kB / 0.9676 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.8629, allocations: 246.2 kB / 0.9679 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.8661, allocations: 1.217 MB / 0.9691 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.8679, allocations: 0.7399 MB / 0.9698 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.8693, allocations: 1.085 MB / 0.9708 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.8699, allocations: 404.5 kB / 0.9712 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.8723, allocations: 0.8229 MB / 0.972 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.873, allocations: 434.5 kB / 0.9724 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.873, allocations: 40 kB / 0.9725 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.8749, allocations: 0.9566 MB / 0.9734 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.8751, allocations: 155.5 kB / 0.9736 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.8753, allocations: 246.8 kB / 0.9738 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.8767, allocations: 0.9388 MB / 0.9747 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8767, allocations: 7.938 kB / 0.9747 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8767, allocations: 0 / 0.9747 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.8767, allocations: 4 kB / 0.9747 GB, free: 7.539 MB / 0.7637 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.00111/0.8778, allocations: 0.8015 MB / 0.9755 GB, free: 6.688 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.8779, allocations: 8.031 kB / 0.9755 GB, free: 6.68 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009043/0.8788, allocations: 159.2 kB / 0.9757 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.8793, allocations: 403.3 kB / 0.9761 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.8794, allocations: 29 kB / 0.9761 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.8794, allocations: 36 kB / 0.9761 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.8801, allocations: 450.4 kB / 0.9766 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8801, allocations: 0 / 0.9766 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.8802, allocations: 19.94 kB / 0.9766 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.8802, allocations: 8 kB / 0.9766 GB, free: 5.531 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.8808, allocations: 323.7 kB / 0.9769 GB, free: 5.211 MB / 0.7637 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.001969/0.8827, allocations: 2.004 MB / 0.9788 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.8831, allocations: 241.1 kB / 0.9791 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.8834, allocations: 152.8 kB / 0.9792 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.8839, allocations: 303.2 kB / 0.9795 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.884, allocations: 42.56 kB / 0.9795 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.884, allocations: 0 / 0.9795 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.0009875/0.885, allocations: 454.1 kB / 0.98 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.885, allocations: 55.41 kB / 0.98 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.8854, allocations: 405.9 kB / 0.9804 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.8854, allocations: 29.7 kB / 0.9804 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.8856, allocations: 232.2 kB / 0.9807 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.8857, allocations: 86.8 kB / 0.9808 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.8858, allocations: 49.7 kB / 0.9808 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8859, allocations: 358.7 kB / 0.9811 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.8861, allocations: 107.9 kB / 0.9812 GB, free: 460 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.8864, allocations: 187.8 kB / 0.9814 GB, free: 248 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.8869, allocations: 302.8 kB / 0.9817 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8869, allocations: 0 / 0.9817 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006018/0.8875, allocations: 369.7 kB / 0.9821 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8875, allocations: 4 kB / 0.9821 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8875, allocations: 4 kB / 0.9821 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8876, allocations: 6.25 kB / 0.9821 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.8878, allocations: 55.91 kB / 0.9821 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8879, allocations: 4 kB / 0.9821 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.8881, allocations: 47.52 kB / 0.9822 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.8881, allocations: 8.188 kB / 0.9822 GB, free: 15.43 MB / 0.7794 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.0001714/0.8883, allocations: 174.8 kB / 0.9824 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.8884, allocations: 39.53 kB / 0.9824 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.8891, allocations: 373.8 kB / 0.9828 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.8891, allocations: 8.016 kB / 0.9828 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8891, allocations: 0 / 0.9828 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8891, allocations: 0 / 0.9828 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.8905, allocations: 0.9369 MB / 0.9837 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8905, allocations: 4.219 kB / 0.9837 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.8907, allocations: 47.91 kB / 0.9837 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.8907, allocations: 7.938 kB / 0.9837 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.8908, allocations: 10.62 kB / 0.9837 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.8908, allocations: 4 kB / 0.9837 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8908, allocations: 0 / 0.9837 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/0.8917, allocations: 0.627 MB / 0.9844 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.8919, allocations: 148.5 kB / 0.9845 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.892, allocations: 12.06 kB / 0.9845 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.8922, allocations: 19.92 kB / 0.9845 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.8923, allocations: 19.92 kB / 0.9845 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.8923, allocations: 11.98 kB / 0.9846 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003137/0.8926, allocations: 279.8 kB / 0.9848 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8927, allocations: 0 / 0.9848 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005142/0.8932, allocations: 111.8 kB / 0.9849 GB, free: 12.49 MB / 0.7794 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.0005325/0.8937, allocations: 173.5 kB / 0.9851 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006461/0.8944, allocations: 295.7 kB / 0.9854 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8944, allocations: 4.438 kB / 0.9854 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.8947, allocations: 151.7 kB / 0.9855 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8958, allocations: 221.8 kB / 0.9857 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.8974, allocations: 0.8327 MB / 0.9866 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.8978, allocations: 0.8311 MB / 0.9874 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.8979, allocations: 43.42 kB / 0.9874 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.8979, allocations: 0 / 0.9874 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of Templates: time 0.01081/0.9087, allocations: 6.797 MB / 0.994 GB, free: 3.301 MB / 0.7794 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)