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.5648/0.5648, allocations: 94.78 MB / 102.3 MB, free: 10.13 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.001144/0.001144, allocations: 179.7 kB / 125.6 MB, free: 11.88 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.665/1.665, allocations: 170.6 MB / 319.4 MB, free: 9.344 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.001604/0.001605, allocations: 103.3 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.881e-05, allocations: 0 / 449.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 61.52 MB / 0.4987 GB, free: 4.152 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.09/15.28, allocations: 5.268 GB / 5.766 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/15.28, allocations: 84.47 kB / 5.766 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.416/18.69, allocations: 0.7286 GB / 6.495 GB, free: 62.55 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/18.69, allocations: 0 / 6.495 GB, free: 62.55 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003938/18.69, allocations: 50.56 kB / 6.495 GB, free: 62.54 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.008924/18.7, allocations: 2.258 MB / 6.497 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/18.7, allocations: 7.219 kB / 6.497 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/18.71, allocations: 250 kB / 6.498 GB, free: 61.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05208/18.76, allocations: 23.49 MB / 6.521 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/18.76, allocations: 44.38 kB / 6.521 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/18.76, allocations: 89.44 kB / 6.521 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003364/18.76, allocations: 1.399 MB / 6.522 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/18.77, allocations: 1.412 MB / 6.523 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/18.77, allocations: 0 / 6.523 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/18.77, allocations: 9.922 kB / 6.523 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/18.77, allocations: 35.56 kB / 6.523 GB, free: 58.91 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.01138/18.78, allocations: 5.496 MB / 6.529 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/18.78, allocations: 1.044 MB / 6.53 GB, free: 56.08 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/18.78, allocations: 0.4939 MB / 6.53 GB, free: 55.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/18.78, allocations: 400.9 kB / 6.531 GB, free: 55.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/18.78, allocations: 0.7096 MB / 6.531 GB, free: 55.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=103): time 3.807e-06/18.78, allocations: 0 / 6.531 GB, free: 55.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=110): time 0.01223/18.79, allocations: 4.101 MB / 6.535 GB, free: 53.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/18.79, allocations: 437 kB / 6.536 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/18.8, allocations: 1.097 MB / 6.537 GB, free: 52.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002375/18.8, allocations: 33.67 kB / 6.537 GB, free: 52.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/18.8, allocations: 0.8227 MB / 6.538 GB, free: 51.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/18.8, allocations: 360.8 kB / 6.538 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/18.8, allocations: 0 / 6.538 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001221/18.8, allocations: 358.2 kB / 6.538 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/18.8, allocations: 489.6 kB / 6.539 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/18.8, allocations: 0.7683 MB / 6.54 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/18.8, allocations: 0.7914 MB / 6.54 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/18.8, allocations: 0 / 6.54 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0043/18.81, allocations: 1.86 MB / 6.542 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004226/18.81, allocations: 1.342 MB / 6.544 GB, free: 47.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/18.81, allocations: 7.391 kB / 6.544 GB, free: 47.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/18.81, allocations: 347.5 kB / 6.544 GB, free: 47.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/18.81, allocations: 245.5 kB / 6.544 GB, free: 47.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009314/18.82, allocations: 7.409 MB / 6.551 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/18.82, allocations: 106.3 kB / 6.551 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/18.82, allocations: 62.08 kB / 6.551 GB, free: 41.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/18.82, allocations: 7.078 kB / 6.551 GB, free: 41.6 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004136/18.82, allocations: 1.841 MB / 6.553 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/18.82, allocations: 3.625 kB / 6.553 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/18.83, allocations: 344.2 kB / 6.554 GB, free: 40.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/18.83, allocations: 252.1 kB / 6.554 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/18.83, allocations: 7.283 MB / 6.561 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/18.83, allocations: 106.6 kB / 6.561 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/18.83, allocations: 53.14 kB / 6.561 GB, free: 34.27 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.0006384/18.84, allocations: 176.1 kB / 6.561 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/18.84, allocations: 163.2 kB / 6.561 GB, free: 34.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/18.84, allocations: 1.867 MB / 6.563 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/18.84, allocations: 10.5 kB / 6.563 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/18.84, allocations: 4 kB / 6.563 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/18.84, allocations: 7.875 kB / 6.563 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/18.84, allocations: 1.425 MB / 6.565 GB, free: 31.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/18.84, allocations: 0 / 6.565 GB, free: 31.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/18.84, allocations: 207.9 kB / 6.565 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/18.85, allocations: 293.3 kB / 6.565 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/18.85, allocations: 23.75 kB / 6.565 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/18.85, allocations: 5.968 MB / 6.571 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/18.85, allocations: 0 / 6.571 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005352/18.86, allocations: 2.43 MB / 6.573 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/18.86, allocations: 418.5 kB / 6.574 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/18.86, allocations: 23.45 kB / 6.574 GB, free: 22.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/18.86, allocations: 84.36 kB / 6.574 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/18.86, allocations: 84.53 kB / 6.574 GB, free: 22.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/18.86, allocations: 47.92 kB / 6.574 GB, free: 22.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001254/18.86, allocations: 0.8374 MB / 6.575 GB, free: 21.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.12e-07/18.86, allocations: 0 / 6.575 GB, free: 21.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005697/18.87, allocations: 1.427 MB / 6.576 GB, free: 20.47 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.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.004739/18.87, allocations: 2.297 MB / 6.578 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004862/18.87, allocations: 3.277 MB / 6.582 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/18.87, allocations: 4.188 kB / 6.582 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/18.88, allocations: 1.108 MB / 6.583 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/18.88, allocations: 0.7436 MB / 6.583 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/18.89, allocations: 2.669 MB / 6.586 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/18.89, allocations: 1.496 MB / 6.588 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002323/18.89, allocations: 0.5008 MB / 6.588 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/18.89, allocations: 118.3 kB / 6.588 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of SimCode: time 9.52e-07/18.89, allocations: 0 / 6.588 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of Templates: time 0.5418/19.43, allocations: 52.13 MB / 6.639 GB, free: 59.23 MB / 0.5417 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)