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 / 268 MB, free: 10.87 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.001103/0.001103, allocations: 176.9 kB / 327.6 MB, free: 2.125 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.497/1.497, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.0007281/0.0007278, allocations: 91.3 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006103/0.0006106, allocations: 12 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2304, allocations: 106.3 MB / 0.9014 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.Humidifier_u): time 1.717/1.948, allocations: 0.5743 GB / 1.476 GB, free: 54.58 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.05718/2.005, allocations: 36.39 MB / 1.511 GB, free: 54.04 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/2.019, allocations: 220.7 kB / 1.511 GB, free: 54.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/2.032, allocations: 3.69 MB / 1.515 GB, free: 53.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.03961/2.071, allocations: 13.12 MB / 1.528 GB, free: 53.28 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/2.086, allocations: 4.74 MB / 1.533 GB, free: 52.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03426/2.12, allocations: 27.33 MB / 1.559 GB, free: 46.25 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/2.132, allocations: 5.345 MB / 1.564 GB, free: 43.66 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02228/2.154, allocations: 7.649 MB / 1.572 GB, free: 40.54 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01697/2.171, allocations: 6.046 MB / 1.578 GB, free: 36.61 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.003281/2.175, allocations: 292 kB / 1.578 GB, free: 36.33 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02628/2.201, allocations: 12.24 MB / 1.59 GB, free: 25.52 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006749/2.208, allocations: 2.342 MB / 1.592 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0118/2.22, allocations: 3.923 MB / 1.596 GB, free: 19.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01947/2.239, allocations: 11.53 MB / 1.607 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/2.239, allocations: 4 kB / 1.607 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.034e-06/2.239, allocations: 4 kB / 1.607 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000541/2.24, allocations: 0 / 1.607 GB, free: 8.273 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.02413/2.264, allocations: 7.965 MB / 1.615 GB, free: 264 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/2.264, allocations: 8.031 kB / 1.615 GB, free: 256 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/2.277, allocations: 1.962 MB / 1.617 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/2.289, allocations: 4.973 MB / 1.622 GB, free: 9.363 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/2.289, allocations: 404.5 kB / 1.622 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/2.291, allocations: 0.5479 MB / 1.623 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/2.307, allocations: 5.854 MB / 1.629 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/2.307, allocations: 0 / 1.629 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009839/2.308, allocations: 218.2 kB / 1.629 GB, free: 2.359 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/2.309, allocations: 272.2 kB / 1.629 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/2.323, allocations: 6.148 MB / 1.635 GB, free: 11.94 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.03746/2.36, allocations: 23.82 MB / 1.658 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006567/2.367, allocations: 5.02 MB / 1.663 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003505/2.37, allocations: 2.433 MB / 1.666 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/2.371, allocations: 275.2 kB / 1.666 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.841e-05/2.371, allocations: 82.12 kB / 1.666 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=397): time 6.662e-06/2.371, allocations: 0 / 1.666 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=405): time 0.02738/2.398, allocations: 13.01 MB / 1.679 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/2.398, allocations: 98.53 kB / 1.679 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/2.404, allocations: 4.102 MB / 1.683 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008681/2.405, allocations: 124.8 kB / 1.683 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002077/2.407, allocations: 2.713 MB / 1.686 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001896/2.409, allocations: 1.405 MB / 1.687 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/2.409, allocations: 72 kB / 1.687 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002543/2.41, allocations: 462.4 kB / 1.687 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/2.413, allocations: 1.807 MB / 1.689 GB, free: 2.559 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/2.416, allocations: 2.625 MB / 1.692 GB, free: 15.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006819/2.423, allocations: 4.205 MB / 1.696 GB, free: 11.36 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/2.423, allocations: 4 kB / 1.696 GB, free: 11.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=501) (initialization): time 0.01136/2.435, allocations: 5.574 MB / 1.701 GB, free: 5.742 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/2.435, allocations: 342 kB / 1.702 GB, free: 5.305 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/2.435, allocations: 7.984 kB / 1.702 GB, free: 5.297 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/2.438, allocations: 0.6148 MB / 1.702 GB, free: 4.645 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/2.442, allocations: 0.7599 MB / 1.703 GB, free: 3.887 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007907/2.45, allocations: 11.79 MB / 1.714 GB, free: 7.316 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009788/2.459, allocations: 0.5517 MB / 1.715 GB, free: 6.773 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/2.461, allocations: 140 kB / 1.715 GB, free: 6.637 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/2.461, allocations: 5.406 kB / 1.715 GB, free: 6.633 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0114/2.473, allocations: 4.82 MB / 1.72 GB, free: 1.773 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/2.473, allocations: 8 kB / 1.72 GB, free: 1.766 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/2.474, allocations: 438.5 kB / 1.72 GB, free: 1.301 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/2.477, allocations: 0.7333 MB / 1.721 GB, free: 0.5664 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/2.491, allocations: 17.8 MB / 1.738 GB, free: 13.19 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007684/2.498, allocations: 0.5394 MB / 1.739 GB, free: 12.65 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000783/2.499, allocations: 128 kB / 1.739 GB, free: 12.53 MB / 1.057 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 (not torn): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.003858/2.503, allocations: 1.444 MB / 1.74 GB, free: 11.07 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/2.505, allocations: 0.5558 MB / 1.741 GB, free: 10.51 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009294/2.514, allocations: 5.106 MB / 1.746 GB, free: 5.34 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/2.514, allocations: 40 kB / 1.746 GB, free: 5.301 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/2.514, allocations: 4 kB / 1.746 GB, free: 5.297 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007477/2.522, allocations: 4.234 MB / 1.75 GB, free: 1.008 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/2.545, allocations: 11.98 MB / 1.762 GB, free: 4.871 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/2.545, allocations: 0 / 1.762 GB, free: 4.871 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004359/2.549, allocations: 0.8233 MB / 1.763 GB, free: 4.047 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/2.55, allocations: 433.6 kB / 1.763 GB, free: 3.59 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005487/2.551, allocations: 99.95 kB / 1.763 GB, free: 3.492 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008723/2.56, allocations: 11.77 MB / 1.775 GB, free: 6.945 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/2.56, allocations: 3.938 kB / 1.775 GB, free: 6.941 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/2.575, allocations: 7.796 MB / 1.782 GB, free: 15.04 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004409/2.579, allocations: 1.138 MB / 1.783 GB, free: 13.88 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/2.581, allocations: 83.98 kB / 1.783 GB, free: 13.79 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00635/2.587, allocations: 471.1 kB / 1.784 GB, free: 13.34 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007336/2.588, allocations: 266.6 kB / 1.784 GB, free: 13.08 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00037/2.589, allocations: 131.9 kB / 1.784 GB, free: 12.95 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.005309/2.594, allocations: 2.755 MB / 1.787 GB, free: 10.22 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.81e-07/2.594, allocations: 0 / 1.787 GB, free: 10.22 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01386/2.608, allocations: 3.006 MB / 1.79 GB, free: 7.215 MB / 1.104 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 (not torn): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(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.00219/2.61, allocations: 0.6121 MB / 1.791 GB, free: 6.641 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.4315/3.042, allocations: 9.06 MB / 1.799 GB, free: 0.5122 GB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/3.042, allocations: 3.125 kB / 1.799 GB, free: 0.5122 GB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.005184/3.047, allocations: 2.884 MB / 1.802 GB, free: 0.5118 GB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02195/3.069, allocations: 3.485 MB / 1.806 GB, free: 0.5117 GB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/3.096, allocations: 15.82 MB / 1.821 GB, free: 0.5049 GB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004977/3.101, allocations: 3.56 MB / 1.825 GB, free: 0.504 GB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/3.104, allocations: 443.5 kB / 1.825 GB, free: 0.504 GB / 1.104 GB Notification: Performance of SimCode: time 1.243e-06/3.104, allocations: 3.172 kB / 1.825 GB, free: 0.504 GB / 1.104 GB Notification: Performance of Templates: time 0.3857/3.489, allocations: 497.3 MB / 2.311 GB, free: 41.7 MB / 1.104 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)