Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u") translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.863/1.863, allocations: 287.5 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 193.7 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 82.36 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 11.34 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.Humidifier_u): time 1.684/1.893, allocations: 0.5341 GB / 1.513 GB, free: 84.95 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0654/1.959, allocations: 33.85 MB / 1.546 GB, free: 84.39 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01364/1.973, allocations: 222.5 kB / 1.546 GB, free: 84.39 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01255/1.985, allocations: 2.729 MB / 1.549 GB, free: 84.35 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.02933/2.015, allocations: 10.06 MB / 1.559 GB, free: 83.78 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01178/2.026, allocations: 3.338 MB / 1.562 GB, free: 82.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.02518/2.052, allocations: 22.56 MB / 1.584 GB, free: 77.84 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/2.062, allocations: 5.149 MB / 1.589 GB, free: 75.95 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01752/2.079, allocations: 6.922 MB / 1.596 GB, free: 73.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/2.09, allocations: 5.674 MB / 1.601 GB, free: 71.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.002598/2.093, allocations: 287 kB / 1.601 GB, free: 71.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/2.11, allocations: 5.275 MB / 1.607 GB, free: 66.99 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.004528/2.115, allocations: 2.261 MB / 1.609 GB, free: 65.17 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.005768/2.121, allocations: 1.582 MB / 1.61 GB, free: 64.1 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01631/2.137, allocations: 10.6 MB / 1.621 GB, free: 55.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/2.137, allocations: 3.938 kB / 1.621 GB, free: 55.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/2.137, allocations: 0 / 1.621 GB, free: 55.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004554/2.138, allocations: 0 / 1.621 GB, free: 55.12 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.02312/2.161, allocations: 7.889 MB / 1.628 GB, free: 47.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/2.161, allocations: 8.031 kB / 1.628 GB, free: 47.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/2.173, allocations: 1.951 MB / 1.63 GB, free: 45.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/2.185, allocations: 4.933 MB / 1.635 GB, free: 42.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/2.186, allocations: 405.5 kB / 1.636 GB, free: 42.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/2.187, allocations: 0.5321 MB / 1.636 GB, free: 41.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/2.201, allocations: 5.739 MB / 1.642 GB, free: 37.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/2.202, allocations: 0 / 1.642 GB, free: 37.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/2.203, allocations: 203.2 kB / 1.642 GB, free: 37.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/2.203, allocations: 260.4 kB / 1.642 GB, free: 37.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/2.215, allocations: 6.092 MB / 1.648 GB, free: 33.38 MB / 0.948 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.03161/2.247, allocations: 23.66 MB / 1.671 GB, free: 8.121 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006629/2.254, allocations: 5.086 MB / 1.676 GB, free: 2.949 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/2.257, allocations: 2.437 MB / 1.679 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/2.258, allocations: 265.9 kB / 1.679 GB, free: 232 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/2.258, allocations: 81.69 kB / 1.679 GB, free: 140 kB / 0.948 GB Notification: Performance of pre-optimization done (n=397): time 7.174e-06/2.258, allocations: 6.406 kB / 1.679 GB, free: 136 kB / 0.948 GB Notification: Performance of matching and sorting (n=405): time 0.03063/2.289, allocations: 13.03 MB / 1.692 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/2.289, allocations: 94.59 kB / 1.692 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00753/2.296, allocations: 3.989 MB / 1.696 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007237/2.297, allocations: 113.7 kB / 1.696 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002387/2.3, allocations: 2.696 MB / 1.698 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002031/2.302, allocations: 1.397 MB / 1.7 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006021/2.302, allocations: 79.52 kB / 1.7 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003811/2.303, allocations: 462.4 kB / 1.7 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/2.307, allocations: 1.796 MB / 1.702 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/2.311, allocations: 2.598 MB / 1.704 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/2.318, allocations: 4.185 MB / 1.709 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/2.318, allocations: 4 kB / 1.709 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of matching and sorting (n=501) (initialization): time 0.0121/2.33, allocations: 5.532 MB / 1.714 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/2.331, allocations: 339.4 kB / 1.714 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/2.331, allocations: 8 kB / 1.714 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/2.334, allocations: 0.595 MB / 1.715 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/2.338, allocations: 0.7645 MB / 1.716 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009042/2.347, allocations: 11.78 MB / 1.727 GB, free: 13.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/2.354, allocations: 0.5386 MB / 1.728 GB, free: 12.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006135/2.355, allocations: 136 kB / 1.728 GB, free: 12.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/2.355, allocations: 4 kB / 1.728 GB, free: 12.44 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009194/2.364, allocations: 4.816 MB / 1.732 GB, free: 7.586 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/2.364, allocations: 8.375 kB / 1.733 GB, free: 7.578 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/2.366, allocations: 438.2 kB / 1.733 GB, free: 7.113 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/2.369, allocations: 0.7372 MB / 1.734 GB, free: 6.375 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/2.384, allocations: 17.79 MB / 1.751 GB, free: 3.004 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007007/2.391, allocations: 0.5326 MB / 1.752 GB, free: 2.477 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/2.391, allocations: 132 kB / 1.752 GB, free: 2.348 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (457): * Single equations (assignments): 435 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 8 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003153/2.394, allocations: 1.418 MB / 1.753 GB, free: 0.9219 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.396, allocations: 0.5481 MB / 1.754 GB, free: 376 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009642/2.405, allocations: 5.122 MB / 1.759 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.839e-05/2.406, allocations: 40 kB / 1.759 GB, free: 11.19 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/2.406, allocations: 7.984 kB / 1.759 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007183/2.413, allocations: 4.241 MB / 1.763 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/2.434, allocations: 11.94 MB / 1.774 GB, free: 10.8 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/2.434, allocations: 0 / 1.774 GB, free: 10.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004268/2.438, allocations: 0.8195 MB / 1.775 GB, free: 9.98 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/2.44, allocations: 433.4 kB / 1.776 GB, free: 9.523 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/2.44, allocations: 104 kB / 1.776 GB, free: 9.422 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007821/2.448, allocations: 11.75 MB / 1.787 GB, free: 12.9 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/2.448, allocations: 4.031 kB / 1.787 GB, free: 12.89 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/2.462, allocations: 7.82 MB / 1.795 GB, free: 4.965 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/2.465, allocations: 1.092 MB / 1.796 GB, free: 3.848 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/2.467, allocations: 83.98 kB / 1.796 GB, free: 3.766 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005388/2.472, allocations: 435.3 kB / 1.796 GB, free: 3.34 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006812/2.473, allocations: 250.8 kB / 1.797 GB, free: 3.094 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003384/2.473, allocations: 135.9 kB / 1.797 GB, free: 2.961 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.005/2.478, allocations: 2.659 MB / 1.799 GB, free: 328 kB / 1.073 GB Notification: Performance of sort global known variables: time 1.5e-07/2.478, allocations: 6.625 kB / 1.799 GB, free: 324 kB / 1.073 GB Notification: Performance of remove unused functions: time 0.01061/2.489, allocations: 2.976 MB / 1.802 GB, free: 13.34 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 26 (hea1.vol.dynBal.U,hea1.vol.dynBal.mXi[1],hea2.vol.dynBal.U,hea2.vol.dynBal.m,hea2.vol.dynBal.mXi[1],hea3.vol.dynBal.U,hea3.vol.dynBal.mXi[1],hea4.vol.dynBal.U,hea4.vol.dynBal.m,hea4.vol.dynBal.mXi[1],mix1.dynBal.U,mix1.dynBal.m,mix1.dynBal.mXi[1],hea5.vol.dynBal.U,hea5.vol.dynBal.mXi[1],hea6.vol.dynBal.U,hea6.vol.dynBal.m,hea6.vol.dynBal.mXi[1],hea7.vol.dynBal.U,hea7.vol.dynBal.mXi[1],hea8.vol.dynBal.U,hea8.vol.dynBal.m,hea8.vol.dynBal.mXi[1],mix2.dynBal.U,mix2.dynBal.m,mix2.dynBal.mXi[1]) * 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 (369): * Single equations (assignments): 355 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 8 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/2.49, allocations: 0.5987 MB / 1.803 GB, free: 12.79 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0152/2.506, allocations: 9.08 MB / 1.812 GB, free: 3.504 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/2.506, allocations: 5.188 kB / 1.812 GB, free: 3.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.004949/2.511, allocations: 2.896 MB / 1.815 GB, free: 0.5625 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02017/2.531, allocations: 3.449 MB / 1.818 GB, free: 13.14 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/2.556, allocations: 14.76 MB / 1.832 GB, free: 14.36 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/2.561, allocations: 3.532 MB / 1.836 GB, free: 10.79 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.009042/2.57, allocations: 1.767 MB / 1.838 GB, free: 9.023 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/2.571, allocations: 407.4 kB / 1.838 GB, free: 8.625 MB / 1.12 GB Notification: Performance of SimCode: time 1.283e-06/2.572, allocations: 0 / 1.838 GB, free: 8.625 MB / 1.12 GB Notification: Performance of Templates: time 0.5549/3.126, allocations: 116.6 MB / 1.952 GB, free: 432.7 MB / 1.12 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe 2>&1)