Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u") translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008262, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.1 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005744, allocations: 14.75 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.Humidifier_u): time 1.429/1.645, allocations: 0.5341 GB / 1.321 GB, free: 87.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04702/1.692, allocations: 33.84 MB / 1.354 GB, free: 86.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/1.704, allocations: 219.3 kB / 1.355 GB, free: 86.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009719/1.714, allocations: 2.734 MB / 1.357 GB, free: 86.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02941/1.744, allocations: 10.06 MB / 1.367 GB, free: 86.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01318/1.757, allocations: 3.341 MB / 1.37 GB, free: 86.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02772/1.785, allocations: 22.48 MB / 1.392 GB, free: 86.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/1.796, allocations: 4.73 MB / 1.397 GB, free: 84.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01898/1.815, allocations: 6.926 MB / 1.404 GB, free: 82.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01349/1.828, allocations: 5.671 MB / 1.409 GB, free: 80.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002716/1.831, allocations: 285.2 kB / 1.41 GB, free: 80.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/1.849, allocations: 5.271 MB / 1.415 GB, free: 78.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004202/1.853, allocations: 2.262 MB / 1.417 GB, free: 77.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004806/1.858, allocations: 1.581 MB / 1.418 GB, free: 77.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/1.874, allocations: 10.6 MB / 1.429 GB, free: 72.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.874, allocations: 0 / 1.429 GB, free: 72.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.875e-06/1.874, allocations: 0 / 1.429 GB, free: 72.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004843/1.875, allocations: 4 kB / 1.429 GB, free: 72.02 MB / 0.9825 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.02538/1.9, allocations: 7.967 MB / 1.437 GB, free: 67.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.9, allocations: 8.656 kB / 1.437 GB, free: 67.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/1.913, allocations: 1.948 MB / 1.439 GB, free: 66.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/1.924, allocations: 4.733 MB / 1.443 GB, free: 64.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005003/1.925, allocations: 407.7 kB / 1.444 GB, free: 64.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/1.927, allocations: 0.5386 MB / 1.444 GB, free: 64.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/1.942, allocations: 5.732 MB / 1.45 GB, free: 60.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/1.942, allocations: 3.984 kB / 1.45 GB, free: 60.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/1.943, allocations: 210 kB / 1.45 GB, free: 60.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/1.943, allocations: 255.1 kB / 1.45 GB, free: 60.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/1.955, allocations: 6.089 MB / 1.456 GB, free: 56.17 MB / 0.9825 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.03469/1.99, allocations: 23.64 MB / 1.479 GB, free: 36.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/1.996, allocations: 5.087 MB / 1.484 GB, free: 32.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/2, allocations: 2.434 MB / 1.486 GB, free: 31.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/2.001, allocations: 261 kB / 1.487 GB, free: 30.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/2.001, allocations: 88.92 kB / 1.487 GB, free: 30.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=397): time 5.65e-06/2.001, allocations: 0 / 1.487 GB, free: 30.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=405): time 0.0298/2.03, allocations: 13.03 MB / 1.5 GB, free: 21.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/2.031, allocations: 98.59 kB / 1.5 GB, free: 21.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007161/2.038, allocations: 3.986 MB / 1.504 GB, free: 18.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0009093/2.039, allocations: 119.3 kB / 1.504 GB, free: 18.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/2.041, allocations: 2.689 MB / 1.506 GB, free: 16.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/2.042, allocations: 1.395 MB / 1.508 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/2.043, allocations: 78.77 kB / 1.508 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003378/2.043, allocations: 461.4 kB / 1.508 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/2.047, allocations: 1.795 MB / 1.51 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/2.05, allocations: 2.6 MB / 1.512 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/2.054, allocations: 2.104 MB / 1.514 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/2.054, allocations: 0 / 1.514 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=501) (initialization): time 0.009778/2.063, allocations: 5.533 MB / 1.52 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/2.064, allocations: 333.7 kB / 1.52 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/2.064, allocations: 11.98 kB / 1.52 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/2.066, allocations: 0.5941 MB / 1.521 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/2.069, allocations: 0.764 MB / 1.522 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/2.076, allocations: 11.79 MB / 1.533 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009038/2.085, allocations: 0.5235 MB / 1.534 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009118/2.086, allocations: 141.2 kB / 1.534 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/2.086, allocations: 4 kB / 1.534 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008514/2.095, allocations: 4.822 MB / 1.538 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/2.095, allocations: 8 kB / 1.538 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/2.096, allocations: 432 kB / 1.539 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/2.099, allocations: 0.7297 MB / 1.54 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/2.113, allocations: 17.79 MB / 1.557 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007498/2.12, allocations: 0.5292 MB / 1.557 GB, free: 2.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007037/2.121, allocations: 138.9 kB / 1.558 GB, free: 1.953 MB / 1.014 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.003274/2.124, allocations: 1.411 MB / 1.559 GB, free: 1.121 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/2.125, allocations: 0.5507 MB / 1.559 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009064/2.134, allocations: 5.125 MB / 1.564 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/2.135, allocations: 36 kB / 1.565 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/2.135, allocations: 4 kB / 1.565 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006779/2.141, allocations: 4.24 MB / 1.569 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/2.161, allocations: 11.94 MB / 1.58 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/2.161, allocations: 4 kB / 1.58 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/2.165, allocations: 0.8234 MB / 1.581 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/2.166, allocations: 435.2 kB / 1.582 GB, free: 9.996 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/2.166, allocations: 91.97 kB / 1.582 GB, free: 9.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007706/2.174, allocations: 11.74 MB / 1.593 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/2.174, allocations: 0 / 1.593 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/2.187, allocations: 7.823 MB / 1.601 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003586/2.19, allocations: 1.084 MB / 1.602 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007017/2.191, allocations: 83.92 kB / 1.602 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/2.195, allocations: 435.5 kB / 1.602 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004822/2.195, allocations: 258.7 kB / 1.603 GB, free: 3.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/2.195, allocations: 131.9 kB / 1.603 GB, free: 3.473 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004064/2.2, allocations: 2.659 MB / 1.605 GB, free: 0.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/2.2, allocations: 0 / 1.605 GB, free: 0.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.008062/2.208, allocations: 2.973 MB / 1.608 GB, free: 13.86 MB / 1.076 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.001111/2.209, allocations: 0.6162 MB / 1.609 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01414/2.223, allocations: 9.081 MB / 1.618 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.223, allocations: 0 / 1.618 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00438/2.227, allocations: 2.895 MB / 1.62 GB, free: 1.078 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/2.243, allocations: 3.503 MB / 1.624 GB, free: 13.61 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/2.268, allocations: 14.75 MB / 1.638 GB, free: 14.86 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00341/2.271, allocations: 3.528 MB / 1.642 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.008133/2.279, allocations: 1.771 MB / 1.643 GB, free: 9.527 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/2.281, allocations: 407.4 kB / 1.644 GB, free: 9.129 MB / 1.107 GB Notification: Performance of SimCode: time 1.402e-06/2.281, allocations: 0 / 1.644 GB, free: 9.129 MB / 1.107 GB Notification: Performance of Templates: time 0.5728/2.854, allocations: 116.5 MB / 1.758 GB, free: 496.5 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: