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.001241/0.001241, allocations: 98.91 kB / 16.29 MB, free: 6 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.001318/0.001318, allocations: 184.2 kB / 17.22 MB, free: 5.617 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.518/1.518, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.912/1.912, allocations: 292.3 MB / 0.5495 GB, free: 17.36 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.001584/0.001584, allocations: 67.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2738, allocations: 114.5 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6844/0.9582, allocations: 179.4 MB / 0.9593 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.9683, allocations: 7.833 MB / 0.9669 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007325/0.9691, allocations: 19.88 kB / 0.9669 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0008453/0.97, allocations: 242.2 kB / 0.9672 GB, free: 15 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.974, allocations: 1.221 MB / 0.9684 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.976, allocations: 0.7319 MB / 0.9691 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.9774, allocations: 1.08 MB / 0.9701 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006495/0.9781, allocations: 405.4 kB / 0.9705 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.9807, allocations: 0.8305 MB / 0.9713 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007424/0.9814, allocations: 442.4 kB / 0.9717 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.9815, allocations: 36 kB / 0.9718 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.9834, allocations: 0.951 MB / 0.9727 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.9835, allocations: 155.6 kB / 0.9729 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.9838, allocations: 246.8 kB / 0.9731 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.9853, allocations: 0.9388 MB / 0.974 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9853, allocations: 0 / 0.974 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9853, allocations: 4 kB / 0.974 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.9853, allocations: 4 kB / 0.974 GB, free: 7.984 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.001219/0.9865, allocations: 0.7976 MB / 0.9748 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.9866, allocations: 10 kB / 0.9748 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009419/0.9875, allocations: 155.2 kB / 0.9749 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.9881, allocations: 387.3 kB / 0.9753 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.9881, allocations: 29 kB / 0.9753 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.9882, allocations: 39.94 kB / 0.9754 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.9889, allocations: 446.4 kB / 0.9758 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.989, allocations: 3.938 kB / 0.9758 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.989, allocations: 16 kB / 0.9758 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.989, allocations: 15.94 kB / 0.9758 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.9896, allocations: 319.8 kB / 0.9761 GB, free: 5.676 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.00209/0.9917, allocations: 2.004 MB / 0.9781 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.9921, allocations: 244.3 kB / 0.9783 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.9924, allocations: 144.8 kB / 0.9785 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.9929, allocations: 311.2 kB / 0.9788 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.993, allocations: 34.56 kB / 0.9788 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.993, allocations: 0 / 0.9788 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.0009784/0.994, allocations: 454.1 kB / 0.9792 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.994, allocations: 55.41 kB / 0.9793 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.9945, allocations: 398 kB / 0.9797 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.9945, allocations: 33.36 kB / 0.9797 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.9947, allocations: 236.2 kB / 0.9799 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.9948, allocations: 86.73 kB / 0.98 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.9949, allocations: 57.7 kB / 0.9801 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.995, allocations: 350.7 kB / 0.9804 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.9953, allocations: 107.9 kB / 0.9805 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.9956, allocations: 187.8 kB / 0.9807 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.9961, allocations: 306.9 kB / 0.981 GB, free: 404 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9961, allocations: 0 / 0.981 GB, free: 404 kB / 0.7637 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006079/0.9967, allocations: 360.8 kB / 0.9813 GB, free: 36 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9967, allocations: 4 kB / 0.9813 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9967, allocations: 4 kB / 0.9813 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.9968, allocations: 4 kB / 0.9813 GB, free: 24 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.9971, allocations: 55.91 kB / 0.9814 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9971, allocations: 7.938 kB / 0.9814 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.9973, allocations: 43.73 kB / 0.9814 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.9974, allocations: 25.8 kB / 0.9815 GB, free: 15.89 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.0001693/0.9975, allocations: 166.8 kB / 0.9816 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.9976, allocations: 39.53 kB / 0.9817 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/0.9983, allocations: 370 kB / 0.982 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9983, allocations: 0 / 0.982 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9983, allocations: 0 / 0.982 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.9983, allocations: 4 kB / 0.982 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.9997, allocations: 0.944 MB / 0.9829 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9998, allocations: 3.938 kB / 0.9829 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/1, allocations: 43.97 kB / 0.983 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/1, allocations: 4 kB / 0.983 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/1, allocations: 11.94 kB / 0.983 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1, allocations: 7.938 kB / 0.983 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1, allocations: 3.984 kB / 0.983 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/1.001, allocations: 0.627 MB / 0.9836 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/1.001, allocations: 152.5 kB / 0.9838 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/1.001, allocations: 8 kB / 0.9838 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.001, allocations: 12 kB / 0.9838 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/1.002, allocations: 15.97 kB / 0.9838 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/1.002, allocations: 12 kB / 0.9838 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002732/1.002, allocations: 279.1 kB / 0.9841 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/1.002, allocations: 0 / 0.9841 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004456/1.002, allocations: 111.8 kB / 0.9842 GB, free: 12.96 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.0003852/1.003, allocations: 184.2 kB / 0.9844 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005558/1.003, allocations: 290.4 kB / 0.9846 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.003, allocations: 4.062 kB / 0.9846 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/1.004, allocations: 155.6 kB / 0.9848 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/1.005, allocations: 221.2 kB / 0.985 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/1.006, allocations: 0.797 MB / 0.9858 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/1.006, allocations: 0.8349 MB / 0.9866 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002559/1.006, allocations: 96.78 kB / 0.9867 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/1.007, allocations: 39.38 kB / 0.9867 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/1.007, allocations: 4 kB / 0.9867 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.01369/1.02, allocations: 7.602 MB / 0.9941 GB, free: 2.898 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)