Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed") translateModel(Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5597/0.5597, allocations: 94.69 MB / 107.2 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001121/0.001121, allocations: 169.4 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.727/1.727, allocations: 170.5 MB / 324.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001776/0.001776, allocations: 113.4 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.696e-05/4.699e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5545, allocations: 61.51 MB / 0.5054 GB, free: 49.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.75/16.3, allocations: 5.268 GB / 5.774 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/16.3, allocations: 84.8 kB / 5.774 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.863/19.16, allocations: 0.7373 GB / 6.511 GB, free: 37.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/19.16, allocations: 0 / 6.511 GB, free: 37.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001692/19.16, allocations: 47.5 kB / 6.511 GB, free: 37.73 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.00603/19.17, allocations: 2.257 MB / 6.513 GB, free: 35.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/19.17, allocations: 15.97 kB / 6.513 GB, free: 35.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/19.17, allocations: 245.7 kB / 6.514 GB, free: 35.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04546/19.22, allocations: 23.83 MB / 6.537 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/19.22, allocations: 114.7 kB / 6.537 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/19.22, allocations: 152 kB / 6.537 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/19.22, allocations: 1.626 MB / 6.539 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/19.22, allocations: 0 / 6.539 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/19.22, allocations: 64 kB / 6.539 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/19.22, allocations: 35.95 kB / 6.539 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/19.22, allocations: 1.479 MB / 6.54 GB, free: 7.512 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.009979/19.23, allocations: 5.81 MB / 6.546 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/19.24, allocations: 1.088 MB / 6.547 GB, free: 356 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5071/19.74, allocations: 0.5217 MB / 6.548 GB, free: 49.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008331/19.74, allocations: 398.8 kB / 6.548 GB, free: 49.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/19.75, allocations: 0.7593 MB / 6.549 GB, free: 48.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=105): time 3.747e-06/19.75, allocations: 0.5 kB / 6.549 GB, free: 48.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=112): time 0.01172/19.76, allocations: 4.008 MB / 6.553 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/19.76, allocations: 426.8 kB / 6.553 GB, free: 47.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/19.76, allocations: 1.371 MB / 6.554 GB, free: 47.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/19.76, allocations: 49.67 kB / 6.554 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009571/19.76, allocations: 0.8011 MB / 6.555 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/19.76, allocations: 387.3 kB / 6.556 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/19.76, allocations: 27.41 kB / 6.556 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001722/19.76, allocations: 351 kB / 6.556 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/19.76, allocations: 0.5006 MB / 6.556 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/19.76, allocations: 0.8024 MB / 6.557 GB, free: 46.33 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/19.77, allocations: 0.6872 MB / 6.558 GB, free: 46.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/19.77, allocations: 2.125 kB / 6.558 GB, free: 46.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004308/19.77, allocations: 1.833 MB / 6.56 GB, free: 45.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005751/19.77, allocations: 1.361 MB / 6.561 GB, free: 44.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/19.77, allocations: 5.672 kB / 6.561 GB, free: 44.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/19.77, allocations: 388.8 kB / 6.561 GB, free: 44.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/19.77, allocations: 249 kB / 6.562 GB, free: 44.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/19.78, allocations: 7.574 MB / 6.569 GB, free: 39.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/19.79, allocations: 134.6 kB / 6.569 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/19.79, allocations: 59.44 kB / 6.569 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/19.79, allocations: 3.312 kB / 6.569 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004206/19.79, allocations: 1.864 MB / 6.571 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/19.79, allocations: 8.062 kB / 6.571 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/19.79, allocations: 354.3 kB / 6.571 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/19.79, allocations: 252.3 kB / 6.572 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006214/19.8, allocations: 7.559 MB / 6.579 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/19.8, allocations: 133.5 kB / 6.579 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/19.8, allocations: 53.23 kB / 6.579 GB, free: 32.97 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (humSte.vol.i_w,humDyn.vol.i_w,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006585/19.8, allocations: 222.2 kB / 6.579 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/19.8, allocations: 177.5 kB / 6.579 GB, free: 32.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/19.81, allocations: 1.909 MB / 6.581 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/19.81, allocations: 13.7 kB / 6.581 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/19.81, allocations: 2.312 kB / 6.581 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/19.81, allocations: 6.375 kB / 6.581 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/19.81, allocations: 1.642 MB / 6.583 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/19.81, allocations: 1.078 kB / 6.583 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/19.81, allocations: 213.1 kB / 6.583 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/19.81, allocations: 331 kB / 6.583 GB, free: 32.31 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/19.81, allocations: 33.73 kB / 6.584 GB, free: 32.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007107/19.82, allocations: 6.089 MB / 6.589 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/19.82, allocations: 3.844 kB / 6.589 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/19.83, allocations: 2.367 MB / 6.592 GB, free: 43.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/19.83, allocations: 462 kB / 6.592 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/19.83, allocations: 31.81 kB / 6.592 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/19.83, allocations: 111.6 kB / 6.592 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/19.83, allocations: 75.81 kB / 6.592 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/19.83, allocations: 52.28 kB / 6.592 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001886/19.83, allocations: 1.124 MB / 6.594 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.9e-07/19.83, allocations: 0 / 6.594 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006568/19.84, allocations: 1.496 MB / 6.595 GB, free: 42.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005726/19.84, allocations: 2.046 MB / 6.597 GB, free: 42.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007188/19.85, allocations: 3.414 MB / 6.6 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/19.85, allocations: 3.594 kB / 6.6 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/19.85, allocations: 1.159 MB / 6.602 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/19.86, allocations: 0.9267 MB / 6.602 GB, free: 41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/19.87, allocations: 2.797 MB / 6.605 GB, free: 40.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/19.87, allocations: 1.508 MB / 6.607 GB, free: 39.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003387/19.87, allocations: 0.5802 MB / 6.607 GB, free: 39.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/19.87, allocations: 118.2 kB / 6.607 GB, free: 39.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/19.87, allocations: 0 / 6.607 GB, free: 39.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.1192/19.99, allocations: 73.25 MB / 6.679 GB, free: 36.5 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe 2>&1)