Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u") translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.0009737/0.0009738, allocations: 192.4 kB / 372 MB, free: 10.26 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.502/1.502, allocations: 205.4 MB / 0.6307 GB, free: 9.895 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.0008199/0.00082, allocations: 90.3 kB / 0.7441 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 12.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.Humidifier_u): time 1.493/1.694, allocations: 0.5341 GB / 1.514 GB, free: 85.86 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.04797/1.742, allocations: 33.84 MB / 1.547 GB, free: 85.3 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/1.752, allocations: 220.8 kB / 1.547 GB, free: 85.3 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/1.763, allocations: 2.732 MB / 1.55 GB, free: 85.26 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.02871/1.791, allocations: 10.06 MB / 1.559 GB, free: 84.38 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.801, allocations: 3.35 MB / 1.563 GB, free: 83.54 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.02562/1.827, allocations: 22.47 MB / 1.585 GB, free: 78.42 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007866/1.835, allocations: 4.733 MB / 1.589 GB, free: 76.58 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01758/1.853, allocations: 6.922 MB / 1.596 GB, free: 74.01 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/1.863, allocations: 5.675 MB / 1.602 GB, free: 71.85 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.00207/1.865, allocations: 288 kB / 1.602 GB, free: 71.57 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01669/1.882, allocations: 5.267 MB / 1.607 GB, free: 67.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.004519/1.886, allocations: 2.262 MB / 1.609 GB, free: 65.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.004638/1.891, allocations: 1.588 MB / 1.611 GB, free: 64.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/1.906, allocations: 10.6 MB / 1.621 GB, free: 55.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/1.906, allocations: 2.406 kB / 1.621 GB, free: 55.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/1.906, allocations: 0 / 1.621 GB, free: 55.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003563/1.907, allocations: 0 / 1.621 GB, free: 55.52 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.0207/1.927, allocations: 7.965 MB / 1.629 GB, free: 48.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.927, allocations: 8.031 kB / 1.629 GB, free: 48.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/1.939, allocations: 1.949 MB / 1.631 GB, free: 46.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009371/1.948, allocations: 4.737 MB / 1.635 GB, free: 42.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/1.949, allocations: 407.8 kB / 1.636 GB, free: 42.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009403/1.95, allocations: 0.5276 MB / 1.636 GB, free: 42.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/1.961, allocations: 5.734 MB / 1.642 GB, free: 38.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.797e-05/1.961, allocations: 3.938 kB / 1.642 GB, free: 38.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000529/1.961, allocations: 219.9 kB / 1.642 GB, free: 38.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/1.962, allocations: 261.7 kB / 1.642 GB, free: 38.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/1.972, allocations: 6.084 MB / 1.648 GB, free: 33.39 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.02901/2.001, allocations: 23.65 MB / 1.671 GB, free: 8.133 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005357/2.006, allocations: 5.088 MB / 1.676 GB, free: 2.953 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/2.009, allocations: 2.441 MB / 1.679 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/2.01, allocations: 266.5 kB / 1.679 GB, free: 232 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/2.01, allocations: 81.69 kB / 1.679 GB, free: 140 kB / 0.948 GB Notification: Performance of pre-optimization done (n=397): time 5.431e-06/2.01, allocations: 0 / 1.679 GB, free: 140 kB / 0.948 GB Notification: Performance of matching and sorting (n=405): time 0.02846/2.038, allocations: 13.02 MB / 1.692 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/2.038, allocations: 90.59 kB / 1.692 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/2.044, allocations: 3.989 MB / 1.696 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005141/2.044, allocations: 121.6 kB / 1.696 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/2.046, allocations: 2.689 MB / 1.699 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/2.048, allocations: 1.392 MB / 1.7 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/2.048, allocations: 83.67 kB / 1.7 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002253/2.048, allocations: 458.4 kB / 1.7 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/2.051, allocations: 1.803 MB / 1.702 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/2.055, allocations: 2.598 MB / 1.705 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/2.059, allocations: 2.102 MB / 1.707 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/2.059, allocations: 6.844 kB / 1.707 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=501) (initialization): time 0.01141/2.07, allocations: 5.513 MB / 1.712 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002229/2.07, allocations: 342 kB / 1.713 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/2.07, allocations: 8 kB / 1.713 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/2.073, allocations: 0.6099 MB / 1.713 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/2.077, allocations: 0.7567 MB / 1.714 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008136/2.085, allocations: 11.76 MB / 1.725 GB, free: 15.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007161/2.092, allocations: 0.5404 MB / 1.726 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005213/2.093, allocations: 136 kB / 1.726 GB, free: 14.67 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/2.093, allocations: 4 kB / 1.726 GB, free: 14.66 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008694/2.102, allocations: 4.832 MB / 1.731 GB, free: 9.793 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/2.102, allocations: 8 kB / 1.731 GB, free: 9.785 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/2.103, allocations: 430.1 kB / 1.731 GB, free: 9.328 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/2.106, allocations: 0.7372 MB / 1.732 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/2.12, allocations: 17.77 MB / 1.749 GB, free: 5.242 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007293/2.127, allocations: 0.5523 MB / 1.75 GB, free: 4.699 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000535/2.128, allocations: 132 kB / 1.75 GB, free: 4.57 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.003156/2.131, allocations: 1.414 MB / 1.751 GB, free: 3.148 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/2.132, allocations: 0.5481 MB / 1.752 GB, free: 2.594 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/2.141, allocations: 5.106 MB / 1.757 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/2.141, allocations: 44 kB / 1.757 GB, free: 13.38 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/2.141, allocations: 0 / 1.757 GB, free: 13.38 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006971/2.148, allocations: 4.246 MB / 1.761 GB, free: 9.07 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/2.168, allocations: 11.92 MB / 1.773 GB, free: 13 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/2.168, allocations: 0 / 1.773 GB, free: 13 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004158/2.172, allocations: 0.8344 MB / 1.773 GB, free: 12.17 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/2.173, allocations: 432.8 kB / 1.774 GB, free: 11.71 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003194/2.173, allocations: 95.95 kB / 1.774 GB, free: 11.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007687/2.181, allocations: 11.74 MB / 1.785 GB, free: 15.1 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/2.181, allocations: 7.938 kB / 1.785 GB, free: 15.09 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/2.196, allocations: 7.817 MB / 1.793 GB, free: 7.172 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003394/2.199, allocations: 1.088 MB / 1.794 GB, free: 6.059 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/2.201, allocations: 79.98 kB / 1.794 GB, free: 5.98 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005793/2.207, allocations: 443.2 kB / 1.795 GB, free: 5.547 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006072/2.207, allocations: 262.6 kB / 1.795 GB, free: 5.289 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000429/2.208, allocations: 135.9 kB / 1.795 GB, free: 5.156 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.005507/2.213, allocations: 2.655 MB / 1.798 GB, free: 2.52 MB / 1.073 GB Notification: Performance of sort global known variables: time 3.1e-07/2.213, allocations: 0 / 1.798 GB, free: 2.52 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01244/2.226, allocations: 2.975 MB / 1.8 GB, free: 15.54 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.001355/2.227, allocations: 0.6115 MB / 1.801 GB, free: 14.97 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01565/2.243, allocations: 9.075 MB / 1.81 GB, free: 5.703 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/2.243, allocations: 8.094 kB / 1.81 GB, free: 5.695 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005076/2.248, allocations: 2.887 MB / 1.813 GB, free: 2.766 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01899/2.267, allocations: 3.502 MB / 1.816 GB, free: 15.28 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/2.291, allocations: 14.76 MB / 1.831 GB, free: 0.4961 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003338/2.294, allocations: 3.528 MB / 1.834 GB, free: 12.94 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.008565/2.303, allocations: 1.771 MB / 1.836 GB, free: 11.16 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/2.304, allocations: 407.4 kB / 1.836 GB, free: 10.76 MB / 1.12 GB Notification: Performance of SimCode: time 9.92e-07/2.304, allocations: 0 / 1.836 GB, free: 10.76 MB / 1.12 GB Notification: Performance of Templates: time 0.557/2.861, allocations: 116.5 MB / 1.95 GB, free: 434.1 MB / 1.12 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe 2>&1)