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.5819/0.5819, allocations: 95.62 MB / 110.6 MB, free: 9.387 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.001394/0.001394, allocations: 181 kB / 134.2 MB, free: 2.262 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.711/1.711, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001839/0.001839, allocations: 99.34 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 23.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.39/13.55, allocations: 5.268 GB / 5.78 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/13.55, allocations: 87.95 kB / 5.781 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.855/16.41, allocations: 0.7385 GB / 6.519 GB, free: 63.53 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/16.41, allocations: 0 / 6.519 GB, free: 63.53 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001726/16.41, allocations: 47.41 kB / 6.519 GB, free: 63.52 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.007315/16.42, allocations: 2.551 MB / 6.522 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/16.42, allocations: 11.8 kB / 6.522 GB, free: 62.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/16.42, allocations: 253.3 kB / 6.522 GB, free: 62.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04671/16.46, allocations: 23.93 MB / 6.545 GB, free: 59.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/16.46, allocations: 109.1 kB / 6.545 GB, free: 59.78 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/16.46, allocations: 146.3 kB / 6.545 GB, free: 59.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/16.47, allocations: 1.68 MB / 6.547 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/16.47, allocations: 2 kB / 6.547 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/16.47, allocations: 65.64 kB / 6.547 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/16.47, allocations: 35.67 kB / 6.547 GB, free: 59.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/16.47, allocations: 1.563 MB / 6.549 GB, free: 59.62 MB / 0.5417 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.01062/16.48, allocations: 5.799 MB / 6.554 GB, free: 56.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/16.48, allocations: 1.146 MB / 6.555 GB, free: 56.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/16.48, allocations: 400.6 kB / 6.556 GB, free: 55.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/16.48, allocations: 0.7964 MB / 6.557 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=105): time 3.707e-06/16.48, allocations: 2.516 kB / 6.557 GB, free: 55.25 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: humDyn.vol.dynBal.medium.Xi[1] 2: humDyn.vol.dynBal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=105): time 0.006403/16.49, allocations: 2.864 MB / 6.559 GB, free: 53.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/16.49, allocations: 435 kB / 6.56 GB, free: 53.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/16.49, allocations: 1.386 MB / 6.561 GB, free: 52.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/16.49, allocations: 49.02 kB / 6.561 GB, free: 52.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/16.49, allocations: 0.8062 MB / 6.562 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/16.5, allocations: 355.6 kB / 6.562 GB, free: 51.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/16.5, allocations: 22.41 kB / 6.562 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001079/16.5, allocations: 351.7 kB / 6.563 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008217/16.5, allocations: 0.4883 MB / 6.563 GB, free: 51.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/16.5, allocations: 0.7858 MB / 6.564 GB, free: 50.92 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/16.5, allocations: 0.654 MB / 6.565 GB, free: 50.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/16.5, allocations: 7.75 kB / 6.565 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003147/16.5, allocations: 1.663 MB / 6.566 GB, free: 49.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004097/16.5, allocations: 1.349 MB / 6.568 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/16.5, allocations: 3.953 kB / 6.568 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007504/16.5, allocations: 169.8 kB / 6.568 GB, free: 48.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/16.5, allocations: 257 kB / 6.568 GB, free: 47.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/16.51, allocations: 4.195 MB / 6.572 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/16.51, allocations: 210.1 kB / 6.572 GB, free: 43.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/16.51, allocations: 58.58 kB / 6.572 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/16.51, allocations: 4.625 kB / 6.572 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002768/16.51, allocations: 1.594 MB / 6.574 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/16.51, allocations: 4 kB / 6.574 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/16.51, allocations: 132.6 kB / 6.574 GB, free: 41.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/16.51, allocations: 241.2 kB / 6.574 GB, free: 41.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/16.52, allocations: 5.197 MB / 6.579 GB, free: 36.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/16.52, allocations: 190 kB / 6.58 GB, free: 35.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/16.52, allocations: 54.8 kB / 6.58 GB, free: 35.94 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * 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: 3 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00144/16.52, allocations: 0.5444 MB / 6.58 GB, free: 35.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/16.52, allocations: 173.9 kB / 6.58 GB, free: 35.24 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/16.52, allocations: 1.782 MB / 6.582 GB, free: 33.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/16.52, allocations: 15.8 kB / 6.582 GB, free: 33.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/16.52, allocations: 0 / 6.582 GB, free: 33.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/16.52, allocations: 3.562 kB / 6.582 GB, free: 33.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/16.53, allocations: 1.566 MB / 6.584 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/16.53, allocations: 0 / 6.584 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/16.53, allocations: 193.8 kB / 6.584 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/16.53, allocations: 297.4 kB / 6.584 GB, free: 32.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/16.53, allocations: 27.75 kB / 6.584 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/16.53, allocations: 4.83 MB / 6.589 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/16.53, allocations: 0 / 6.589 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/16.54, allocations: 2.268 MB / 6.591 GB, free: 25.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/16.54, allocations: 462 kB / 6.591 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/16.54, allocations: 24 kB / 6.591 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/16.54, allocations: 110.3 kB / 6.592 GB, free: 24.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/16.54, allocations: 70.36 kB / 6.592 GB, free: 24.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/16.54, allocations: 47.03 kB / 6.592 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001748/16.54, allocations: 1.146 MB / 6.593 GB, free: 23.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.9e-07/16.54, allocations: 0 / 6.593 GB, free: 23.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005767/16.55, allocations: 1.499 MB / 6.594 GB, free: 22.04 MB / 0.5417 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.U,humDyn.vol.dynBal.mXi[1],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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 86 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004789/16.55, allocations: 1.969 MB / 6.596 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004813/16.56, allocations: 2.948 MB / 6.599 GB, free: 17.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/16.56, allocations: 192 / 6.599 GB, free: 17.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/16.56, allocations: 0.9868 MB / 6.6 GB, free: 16.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/16.56, allocations: 0.9161 MB / 6.601 GB, free: 16.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/16.57, allocations: 4.032 MB / 6.605 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/16.57, allocations: 1.483 MB / 6.606 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002053/16.57, allocations: 419.1 kB / 6.607 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/16.57, allocations: 131.5 kB / 6.607 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/16.57, allocations: 0 / 6.607 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of Templates: time 0.5229/17.09, allocations: 61.9 MB / 6.667 GB, free: 74.65 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)