Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u") translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 181.2 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 95.92 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 14.16 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 106.3 MB / 0.9008 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.Humidifier_u): time 1.747/1.961, allocations: 0.5358 GB / 1.437 GB, free: 66.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.06113/2.022, allocations: 34.26 MB / 1.47 GB, free: 65.8 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01354/2.036, allocations: 220.9 kB / 1.47 GB, free: 65.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01228/2.048, allocations: 2.738 MB / 1.473 GB, free: 65.76 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0394/2.088, allocations: 10.14 MB / 1.483 GB, free: 65.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01492/2.103, allocations: 3.516 MB / 1.486 GB, free: 65.24 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03962/2.142, allocations: 23.13 MB / 1.509 GB, free: 65.21 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01525/2.157, allocations: 4.846 MB / 1.514 GB, free: 64.2 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02268/2.18, allocations: 7.101 MB / 1.521 GB, free: 61.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0167/2.197, allocations: 5.758 MB / 1.526 GB, free: 59.7 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005208/2.202, allocations: 290 kB / 1.527 GB, free: 59.7 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0234/2.226, allocations: 5.276 MB / 1.532 GB, free: 58.2 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006747/2.232, allocations: 2.336 MB / 1.534 GB, free: 57.12 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.006846/2.239, allocations: 1.617 MB / 1.536 GB, free: 56.85 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.02098/2.26, allocations: 10.83 MB / 1.546 GB, free: 51.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/2.26, allocations: 4 kB / 1.546 GB, free: 51.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.005e-06/2.26, allocations: 0 / 1.546 GB, free: 51.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0006231/2.261, allocations: 3.938 kB / 1.546 GB, free: 51.15 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1329 * Number of variables: 1329 Notification: Performance of Generate backend data structure: time 0.02822/2.289, allocations: 8.038 MB / 1.554 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/2.289, allocations: 9.875 kB / 1.554 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/2.303, allocations: 1.965 MB / 1.556 GB, free: 45.55 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/2.315, allocations: 4.774 MB / 1.561 GB, free: 43.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/2.315, allocations: 408.5 kB / 1.561 GB, free: 43.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/2.317, allocations: 0.5366 MB / 1.561 GB, free: 42.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/2.333, allocations: 5.812 MB / 1.567 GB, free: 39.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/2.333, allocations: 2.234 kB / 1.567 GB, free: 39.12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000922/2.334, allocations: 220.2 kB / 1.567 GB, free: 39.07 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/2.334, allocations: 269.3 kB / 1.568 GB, free: 38.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/2.349, allocations: 6.108 MB / 1.574 GB, free: 34.83 MB / 0.9167 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.04228/2.391, allocations: 23.8 MB / 1.597 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/2.399, allocations: 5.008 MB / 1.602 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/2.403, allocations: 2.419 MB / 1.604 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/2.403, allocations: 262.5 kB / 1.604 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/2.404, allocations: 88.19 kB / 1.604 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=397): time 9.347e-06/2.404, allocations: 0 / 1.604 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of matching and sorting (n=405): time 0.03374/2.437, allocations: 12.96 MB / 1.617 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/2.438, allocations: 90.59 kB / 1.617 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008523/2.446, allocations: 4.056 MB / 1.621 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/2.447, allocations: 121.9 kB / 1.621 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002244/2.449, allocations: 2.716 MB / 1.624 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002489/2.452, allocations: 1.395 MB / 1.625 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007043/2.453, allocations: 79.44 kB / 1.625 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004749/2.453, allocations: 464.6 kB / 1.626 GB, free: 9.758 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/2.457, allocations: 1.775 MB / 1.627 GB, free: 8.672 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/2.462, allocations: 2.579 MB / 1.63 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/2.466, allocations: 2.09 MB / 1.632 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/2.466, allocations: 4 kB / 1.632 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of matching and sorting (n=501) (initialization): time 0.01209/2.478, allocations: 5.484 MB / 1.637 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003004/2.479, allocations: 340.9 kB / 1.638 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/2.479, allocations: 8 kB / 1.638 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/2.482, allocations: 0.5982 MB / 1.638 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/2.486, allocations: 0.7653 MB / 1.639 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008839/2.495, allocations: 11.77 MB / 1.651 GB, free: 4.027 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008034/2.503, allocations: 0.5525 MB / 1.651 GB, free: 3.551 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/2.504, allocations: 138 kB / 1.651 GB, free: 3.445 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/2.504, allocations: 6.344 kB / 1.651 GB, free: 3.441 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01102/2.515, allocations: 4.784 MB / 1.656 GB, free: 352 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/2.515, allocations: 8 kB / 1.656 GB, free: 344 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/2.516, allocations: 434.2 kB / 1.656 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/2.52, allocations: 0.7343 MB / 1.657 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/2.536, allocations: 17.78 MB / 1.674 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008117/2.544, allocations: 0.5417 MB / 1.675 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007429/2.545, allocations: 137.2 kB / 1.675 GB, free: 12.55 MB / 0.9792 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.004241/2.549, allocations: 1.448 MB / 1.676 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/2.551, allocations: 0.552 MB / 1.677 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009295/2.56, allocations: 5.079 MB / 1.682 GB, free: 7.871 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/2.56, allocations: 40 kB / 1.682 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/2.56, allocations: 0 / 1.682 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007246/2.568, allocations: 4.212 MB / 1.686 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02269/2.59, allocations: 11.96 MB / 1.698 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/2.59, allocations: 4 kB / 1.698 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004102/2.594, allocations: 0.8122 MB / 1.699 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/2.596, allocations: 451.1 kB / 1.699 GB, free: 7.887 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003343/2.596, allocations: 95.95 kB / 1.699 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008559/2.605, allocations: 11.73 MB / 1.711 GB, free: 11.28 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/2.605, allocations: 3.984 kB / 1.711 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/2.621, allocations: 7.762 MB / 1.718 GB, free: 3.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004835/2.625, allocations: 1.146 MB / 1.719 GB, free: 2.238 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/2.627, allocations: 79.95 kB / 1.719 GB, free: 2.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006212/2.633, allocations: 475.5 kB / 1.72 GB, free: 1.707 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/2.634, allocations: 258.8 kB / 1.72 GB, free: 1.453 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/2.634, allocations: 135.9 kB / 1.72 GB, free: 1.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006167/2.64, allocations: 2.712 MB / 1.723 GB, free: 14.63 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.964e-06/2.64, allocations: 0 / 1.723 GB, free: 14.63 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01587/2.656, allocations: 3.012 MB / 1.726 GB, free: 11.62 MB / 1.026 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.00201/2.658, allocations: 0.6093 MB / 1.726 GB, free: 11.06 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01824/2.677, allocations: 9.012 MB / 1.735 GB, free: 1.855 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/2.677, allocations: 4.5 kB / 1.735 GB, free: 1.852 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.005461/2.682, allocations: 2.865 MB / 1.738 GB, free: 14.95 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02116/2.703, allocations: 3.511 MB / 1.741 GB, free: 11.45 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/2.732, allocations: 15.21 MB / 1.756 GB, free: 12.23 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0048/2.737, allocations: 3.563 MB / 1.76 GB, free: 8.625 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/2.739, allocations: 435.3 kB / 1.76 GB, free: 8.199 MB / 1.057 GB Notification: Performance of SimCode: time 1.132e-06/2.739, allocations: 0 / 1.76 GB, free: 8.199 MB / 1.057 GB Notification: Performance of Templates: time 0.8764/3.616, allocations: 497.4 MB / 2.246 GB, free: 81.3 MB / 1.089 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe 2>&1)