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.001242/0.001242, allocations: 109.4 kB / 15.69 MB, free: 128 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.001396/0.001396, allocations: 186.1 kB / 16.62 MB, free: 6.613 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.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.825/1.825, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001458/0.001459, allocations: 67.34 kB / 0.6722 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7735/1.038, allocations: 179.4 MB / 0.9593 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01202/1.05, allocations: 7.825 MB / 0.9669 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/1.051, allocations: 20.47 kB / 0.967 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008737/1.052, allocations: 247.8 kB / 0.9672 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003953/1.056, allocations: 1.216 MB / 0.9684 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/1.058, allocations: 0.7358 MB / 0.9691 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001825/1.06, allocations: 1.088 MB / 0.9702 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/1.061, allocations: 402.1 kB / 0.9705 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/1.064, allocations: 0.8323 MB / 0.9714 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008079/1.064, allocations: 436.2 kB / 0.9718 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/1.065, allocations: 37.31 kB / 0.9718 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/1.067, allocations: 0.949 MB / 0.9727 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/1.067, allocations: 158.5 kB / 0.9729 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/1.067, allocations: 245.5 kB / 0.9731 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/1.069, allocations: 0.9456 MB / 0.974 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.069, allocations: 1.25 kB / 0.9741 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.993e-06/1.069, allocations: 0 / 0.9741 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.069, allocations: 0 / 0.9741 GB, free: 15.34 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.001293/1.07, allocations: 0.8039 MB / 0.9748 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.07, allocations: 13.91 kB / 0.9748 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.072, allocations: 155.2 kB / 0.975 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/1.072, allocations: 400 kB / 0.9754 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/1.072, allocations: 30.2 kB / 0.9754 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/1.072, allocations: 42.41 kB / 0.9754 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/1.073, allocations: 449.3 kB / 0.9759 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.073, allocations: 3.578 kB / 0.9759 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/1.073, allocations: 14.38 kB / 0.9759 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/1.073, allocations: 12.19 kB / 0.9759 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/1.074, allocations: 325.5 kB / 0.9762 GB, free: 14.35 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.002373/1.076, allocations: 2.01 MB / 0.9782 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/1.077, allocations: 240.3 kB / 0.9784 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/1.077, allocations: 151.6 kB / 0.9786 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/1.078, allocations: 303.5 kB / 0.9788 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/1.078, allocations: 44.23 kB / 0.9789 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/1.078, allocations: 0 / 0.9789 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001262/1.079, allocations: 452.3 kB / 0.9793 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.079, allocations: 53.88 kB / 0.9794 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/1.079, allocations: 393.4 kB / 0.9797 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/1.08, allocations: 35.08 kB / 0.9798 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/1.08, allocations: 234.2 kB / 0.98 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/1.08, allocations: 82.55 kB / 0.9801 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.08, allocations: 57.34 kB / 0.9801 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.08, allocations: 358.4 kB / 0.9805 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/1.08, allocations: 109.9 kB / 0.9806 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/1.081, allocations: 182.5 kB / 0.9808 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/1.081, allocations: 305.8 kB / 0.981 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.081, allocations: 1.812 kB / 0.981 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007095/1.082, allocations: 368.3 kB / 0.9814 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.082, allocations: 6.031 kB / 0.9814 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.082, allocations: 4.312 kB / 0.9814 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.082, allocations: 2.844 kB / 0.9814 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/1.082, allocations: 57.66 kB / 0.9815 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.082, allocations: 4 kB / 0.9815 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.083, allocations: 40.83 kB / 0.9815 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/1.083, allocations: 14.41 kB / 0.9815 GB, free: 10.85 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.0002279/1.083, allocations: 173 kB / 0.9817 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/1.083, allocations: 37.91 kB / 0.9817 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/1.084, allocations: 371.5 kB / 0.9821 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.084, allocations: 2.594 kB / 0.9821 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.084, allocations: 0 / 0.9821 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.084, allocations: 3.984 kB / 0.9821 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/1.085, allocations: 0.9454 MB / 0.983 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.085, allocations: 2.5 kB / 0.983 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/1.085, allocations: 56.78 kB / 0.9831 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.086, allocations: 4.531 kB / 0.9831 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.086, allocations: 10.78 kB / 0.9831 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.086, allocations: 4.969 kB / 0.9831 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.086, allocations: 0 / 0.9831 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.087, allocations: 0.6253 MB / 0.9837 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.087, allocations: 152.3 kB / 0.9838 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/1.087, allocations: 7.406 kB / 0.9838 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.087, allocations: 12.83 kB / 0.9839 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/1.087, allocations: 21.55 kB / 0.9839 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/1.087, allocations: 12 kB / 0.9839 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002797/1.087, allocations: 283.2 kB / 0.9842 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.087, allocations: 0 / 0.9842 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005261/1.088, allocations: 108.1 kB / 0.9843 GB, free: 8.941 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.0004706/1.088, allocations: 173.1 kB / 0.9844 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006721/1.089, allocations: 296.7 kB / 0.9847 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.089, allocations: 0 / 0.9847 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/1.09, allocations: 149.1 kB / 0.9849 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.091, allocations: 221.7 kB / 0.9851 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.092, allocations: 0.8122 MB / 0.9859 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/1.093, allocations: 0.8314 MB / 0.9867 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002828/1.093, allocations: 94.31 kB / 0.9868 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/1.093, allocations: 40.64 kB / 0.9868 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/1.093, allocations: 0 / 0.9868 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of Templates: time 0.01427/1.107, allocations: 7.585 MB / 0.9942 GB, free: 3.426 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)