Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|hea1.sta_a.T|hea1.sta_b.T|hea2.sta_a.T|hea2.sta_b.T|hea3.sta_a.T|hea3.sta_b.T|hea4.sta_a.T|hea4.sta_b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|hea5.sta_b.T|hea5.sta_a.T|hea6.sta_b.T|hea7.sta_a.T|hea7.sta_b.T|hea8.sta_a.T|hea8.sta_b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y|che9.y|che10.y|che11.y|che12.y|che13.y|che14.y|che15.y|che16.y|che17.y|che18.y|che19.y|che20.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u") translateModel(Buildings.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea1.sta_a.T|hea1.sta_b.T|hea2.sta_a.T|hea2.sta_b.T|hea3.sta_a.T|hea3.sta_b.T|hea4.sta_a.T|hea4.sta_b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|hea5.sta_b.T|hea5.sta_a.T|hea6.sta_b.T|hea7.sta_a.T|hea7.sta_b.T|hea8.sta_a.T|hea8.sta_b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y|che9.y|che10.y|che11.y|che12.y|che13.y|che14.y|che15.y|che16.y|che17.y|che18.y|che19.y|che20.y",fileNamePrefix="Buildings_9_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.001429/0.001429, allocations: 110 kB / 16.42 MB, free: 6.512 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.001547/0.001547, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6842, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.Humidifier_u): time 1.156/1.84, allocations: 0.5825 GB / 1.671 GB, free: 92.07 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.04395/1.884, allocations: 36.39 MB / 1.707 GB, free: 91.63 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01064/1.895, allocations: 268.2 kB / 1.707 GB, free: 91.63 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01015/1.905, allocations: 4.441 MB / 1.711 GB, free: 91.55 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.03277/1.938, allocations: 14.49 MB / 1.725 GB, free: 90.88 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.01222/1.95, allocations: 4.933 MB / 1.73 GB, free: 90.77 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.02386/1.974, allocations: 19.46 MB / 1.749 GB, free: 89.14 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/1.985, allocations: 6.519 MB / 1.756 GB, free: 87.23 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01851/2.004, allocations: 8.945 MB / 1.764 GB, free: 84.38 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/2.015, allocations: 6.109 MB / 1.77 GB, free: 81.51 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002757/2.018, allocations: 0.7469 MB / 1.771 GB, free: 81.51 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/2.039, allocations: 10.8 MB / 1.782 GB, free: 77.56 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003702/2.042, allocations: 2.798 MB / 1.784 GB, free: 74.83 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.008158/2.051, allocations: 4.445 MB / 1.789 GB, free: 70.46 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02349/2.074, allocations: 15.2 MB / 1.804 GB, free: 56.04 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/2.074, allocations: 4 kB / 1.804 GB, free: 56.04 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.473e-06/2.074, allocations: 0 / 1.804 GB, free: 56.04 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002834/2.074, allocations: 0 / 1.804 GB, free: 56.04 MB / 1.311 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.02305/2.098, allocations: 9.43 MB / 1.813 GB, free: 46.6 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/2.098, allocations: 8.031 kB / 1.813 GB, free: 46.59 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/2.109, allocations: 1.955 MB / 1.815 GB, free: 44.64 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008713/2.118, allocations: 5.256 MB / 1.82 GB, free: 39.56 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/2.118, allocations: 404.8 kB / 1.82 GB, free: 39.17 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007037/2.119, allocations: 0.5397 MB / 1.821 GB, free: 38.64 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/2.128, allocations: 5.785 MB / 1.826 GB, free: 32.84 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/2.128, allocations: 4 kB / 1.826 GB, free: 32.84 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004619/2.129, allocations: 213.8 kB / 1.827 GB, free: 32.64 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/2.129, allocations: 254.2 kB / 1.827 GB, free: 32.39 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009132/2.138, allocations: 6.138 MB / 1.833 GB, free: 26.24 MB / 1.311 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.02449/2.162, allocations: 23.63 MB / 1.856 GB, free: 1.277 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/2.169, allocations: 5.053 MB / 1.861 GB, free: 12.17 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003627/2.172, allocations: 2.481 MB / 1.863 GB, free: 9.672 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/2.173, allocations: 262 kB / 1.864 GB, free: 9.391 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/2.173, allocations: 81.7 kB / 1.864 GB, free: 9.301 MB / 1.326 GB Notification: Performance of pre-optimization done (n=401): time 6.182e-06/2.173, allocations: 4 kB / 1.864 GB, free: 9.297 MB / 1.326 GB Notification: Performance of matching and sorting (n=413): time 0.02606/2.199, allocations: 13.23 MB / 1.877 GB, free: 11.86 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/2.199, allocations: 90.66 kB / 1.877 GB, free: 11.75 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/2.204, allocations: 4.065 MB / 1.881 GB, free: 7.707 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0004126/2.205, allocations: 121.5 kB / 1.881 GB, free: 7.586 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/2.207, allocations: 2.683 MB / 1.883 GB, free: 4.887 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/2.208, allocations: 1.417 MB / 1.885 GB, free: 3.48 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/2.209, allocations: 0.7209 MB / 1.885 GB, free: 2.758 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/2.209, allocations: 309.1 kB / 1.886 GB, free: 2.453 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003095/2.212, allocations: 1.88 MB / 1.888 GB, free: 0.5703 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/2.216, allocations: 2.649 MB / 1.89 GB, free: 13.68 MB / 1.357 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02793/2.244, allocations: 10 MB / 1.9 GB, free: 3.652 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/2.244, allocations: 0 / 1.9 GB, free: 3.652 MB / 1.357 GB Notification: Performance of matching and sorting (n=509) (initialization): time 0.01197/2.256, allocations: 5.667 MB / 1.905 GB, free: 14 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/2.256, allocations: 10.66 kB / 1.905 GB, free: 14 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/2.256, allocations: 8 kB / 1.905 GB, free: 13.99 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/2.259, allocations: 0.6338 MB / 1.906 GB, free: 13.33 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/2.263, allocations: 0.7709 MB / 1.907 GB, free: 12.6 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/2.271, allocations: 12.69 MB / 1.919 GB, free: 15.16 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005658/2.277, allocations: 181.5 kB / 1.919 GB, free: 14.99 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005505/2.277, allocations: 136 kB / 1.92 GB, free: 14.86 MB / 1.389 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: hea1.vol.dynBal.medium.p = hea1.vol.dynBal.p_start hea3.vol.dynBal.medium.p = hea3.vol.dynBal.p_start hea5.vol.dynBal.medium.p = hea5.vol.dynBal.p_start hea7.vol.dynBal.medium.p = hea7.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005863/2.283, allocations: 3.027 MB / 1.922 GB, free: 11.83 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003954/2.287, allocations: 2.63 MB / 1.925 GB, free: 8.961 MB / 1.389 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02659/2.314, allocations: 9.722 MB / 1.935 GB, free: 15.2 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.1e-05/2.314, allocations: 8 kB / 1.935 GB, free: 15.19 MB / 1.404 GB Notification: Performance of matching and sorting (n=509) (initialization_lambda0): time 0.0107/2.324, allocations: 5.432 MB / 1.94 GB, free: 9.77 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/2.324, allocations: 8 kB / 1.94 GB, free: 9.762 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/2.324, allocations: 8.375 kB / 1.94 GB, free: 9.754 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/2.326, allocations: 460.5 kB / 1.94 GB, free: 9.27 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/2.329, allocations: 0.7369 MB / 1.941 GB, free: 8.578 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/2.343, allocations: 20.04 MB / 1.961 GB, free: 3 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005965/2.349, allocations: 213.7 kB / 1.961 GB, free: 2.797 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/2.35, allocations: 134.5 kB / 1.961 GB, free: 2.668 MB / 1.42 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: hea1.vol.dynBal.medium.p = hea1.vol.dynBal.p_start hea3.vol.dynBal.medium.p = hea3.vol.dynBal.p_start hea5.vol.dynBal.medium.p = hea5.vol.dynBal.p_start hea7.vol.dynBal.medium.p = hea7.vol.dynBal.p_start. 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 (461): * Single equations (assignments): 439 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001317/2.351, allocations: 424 kB / 1.961 GB, free: 2.293 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/2.353, allocations: 0.5558 MB / 1.962 GB, free: 1.73 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/2.363, allocations: 5.222 MB / 1.967 GB, free: 12.47 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007634/2.371, allocations: 4.334 MB / 1.971 GB, free: 8.105 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/2.371, allocations: 0 / 1.971 GB, free: 8.105 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/2.374, allocations: 1.092 MB / 1.972 GB, free: 6.988 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/2.376, allocations: 79.98 kB / 1.972 GB, free: 6.91 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005354/2.381, allocations: 147.7 kB / 1.972 GB, free: 6.77 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008318/2.382, allocations: 290.8 kB / 1.973 GB, free: 6.484 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01255/2.394, allocations: 5.357 MB / 1.978 GB, free: 1.141 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01185/2.406, allocations: 7.269 MB / 1.985 GB, free: 9.836 MB / 1.451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00318/2.409, allocations: 2.13 MB / 1.987 GB, free: 7.699 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.004678/2.414, allocations: 2.723 MB / 1.99 GB, free: 4.996 MB / 1.451 GB Notification: Performance of Backend: time 1.784e-06/2.414, allocations: 0 / 1.99 GB, free: 4.996 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.02032/2.434, allocations: 9.713 MB / 1.999 GB, free: 11.36 MB / 1.467 GB Notification: Performance of SimCode: time 0.02705/2.462, allocations: 14.26 MB / 2.013 GB, free: 13.13 MB / 1.482 GB Notification: Performance of Templates: time 0.2232/2.685, allocations: 154.5 MB / 2.164 GB, free: 4.16 MB / 1.623 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.Humidifier_u.pipe 2>&1)