Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 184.2 kB / 16.92 MB, free: 6.934 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.745/0.745, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003214, allocations: 15.98 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 77.52 MB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u): time 0.5673/0.7347, allocations: 250.2 MB / 0.8043 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.7495, allocations: 9.62 MB / 0.8137 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.7516, allocations: 67.56 kB / 0.8137 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.7538, allocations: 0.816 MB / 0.8145 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.7604, allocations: 2.497 MB / 0.817 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005272/0.7657, allocations: 1.929 MB / 0.8189 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007184/0.7729, allocations: 5.463 MB / 0.8242 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.7753, allocations: 1.397 MB / 0.8256 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.78, allocations: 1.688 MB / 0.8272 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/0.7833, allocations: 1.261 MB / 0.8284 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.7837, allocations: 64 kB / 0.8285 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3902/1.174, allocations: 3.49 MB / 0.8319 GB, free: 38.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/1.175, allocations: 481.1 kB / 0.8324 GB, free: 38.69 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002062/1.177, allocations: 0.9114 MB / 0.8332 GB, free: 38.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009744/1.187, allocations: 3.691 MB / 0.8369 GB, free: 38.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.187, allocations: 0 / 0.8369 GB, free: 38.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.695e-06/1.187, allocations: 0.9688 kB / 0.8369 GB, free: 38.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001058/1.187, allocations: 0 / 0.8369 GB, free: 38.58 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.006925/1.194, allocations: 2.129 MB / 0.8389 GB, free: 37.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.194, allocations: 12.91 kB / 0.8389 GB, free: 37.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/1.199, allocations: 0.6526 MB / 0.8396 GB, free: 37.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/1.203, allocations: 1.379 MB / 0.8409 GB, free: 36.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/1.203, allocations: 160.3 kB / 0.8411 GB, free: 36.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/1.203, allocations: 134.3 kB / 0.8412 GB, free: 36.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/1.207, allocations: 1.457 MB / 0.8426 GB, free: 36.69 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/1.207, allocations: 0 / 0.8426 GB, free: 36.69 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/1.207, allocations: 52.31 kB / 0.8427 GB, free: 36.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/1.207, allocations: 43.78 kB / 0.8427 GB, free: 36.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/1.21, allocations: 1.228 MB / 0.8439 GB, free: 36.66 MB / 0.6387 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.009652/1.22, allocations: 5.777 MB / 0.8496 GB, free: 34.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/1.222, allocations: 1.047 MB / 0.8506 GB, free: 34.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.223, allocations: 0.5481 MB / 0.8511 GB, free: 34.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/1.223, allocations: 327.8 kB / 0.8514 GB, free: 33.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.225, allocations: 0.5869 MB / 0.852 GB, free: 33.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.988e-06/1.225, allocations: 0 / 0.852 GB, free: 33.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.009166/1.234, allocations: 3.255 MB / 0.8552 GB, free: 32.81 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.234, allocations: 87.67 kB / 0.8553 GB, free: 32.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/1.236, allocations: 1.308 MB / 0.8566 GB, free: 32.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.237, allocations: 42.89 kB / 0.8566 GB, free: 32.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006055/1.237, allocations: 0.7337 MB / 0.8573 GB, free: 32.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.237, allocations: 307.2 kB / 0.8576 GB, free: 32.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.238, allocations: 85.02 kB / 0.8577 GB, free: 32.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/1.238, allocations: 345.2 kB / 0.858 GB, free: 31.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.239, allocations: 445.5 kB / 0.8584 GB, free: 31.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/1.24, allocations: 0.6687 MB / 0.8591 GB, free: 31.51 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.255, allocations: 3.994 MB / 0.863 GB, free: 31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.255, allocations: 0 / 0.863 GB, free: 31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00304/1.258, allocations: 1.405 MB / 0.8644 GB, free: 30.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.258, allocations: 261.5 kB / 0.8646 GB, free: 30.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.258, allocations: 10.31 kB / 0.8646 GB, free: 30.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/1.258, allocations: 73.27 kB / 0.8647 GB, free: 30.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/1.259, allocations: 219.6 kB / 0.8649 GB, free: 30.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/1.259, allocations: 0.5991 MB / 0.8655 GB, free: 29.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.261, allocations: 143.3 kB / 0.8656 GB, free: 29.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/1.262, allocations: 39.39 kB / 0.8657 GB, free: 29.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/1.262, allocations: 5.188 kB / 0.8657 GB, free: 29.98 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002477/1.264, allocations: 1.226 MB / 0.8669 GB, free: 29.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.264, allocations: 5.281 kB / 0.8669 GB, free: 29.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/1.264, allocations: 53.42 kB / 0.8669 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/1.265, allocations: 215.1 kB / 0.8671 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.266, allocations: 1.626 MB / 0.8687 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.268, allocations: 140.8 kB / 0.8688 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/1.268, allocations: 39.78 kB / 0.8689 GB, free: 28.46 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001014/1.269, allocations: 0.5075 MB / 0.8694 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/1.27, allocations: 158.2 kB / 0.8695 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/1.272, allocations: 1.27 MB / 0.8708 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.272, allocations: 8.031 kB / 0.8708 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.272, allocations: 0 / 0.8708 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/1.274, allocations: 1.14 MB / 0.8719 GB, free: 27.78 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.005419/1.28, allocations: 3.011 MB / 0.8748 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.28, allocations: 5.75 kB / 0.8748 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/1.281, allocations: 182.5 kB / 0.875 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/1.281, allocations: 56.17 kB / 0.8751 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/1.281, allocations: 27.22 kB / 0.8751 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003147/1.281, allocations: 0.5932 MB / 0.8757 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.281, allocations: 6.625 kB / 0.8757 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/1.285, allocations: 1.96 MB / 0.8776 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/1.286, allocations: 332.5 kB / 0.8779 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.286, allocations: 23.75 kB / 0.8779 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.287, allocations: 118.2 kB / 0.878 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.287, allocations: 66.73 kB / 0.8781 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/1.287, allocations: 35.94 kB / 0.8781 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001283/1.289, allocations: 0.8864 MB / 0.879 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.162e-06/1.289, allocations: 0 / 0.879 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002295/1.291, allocations: 0.6746 MB / 0.8797 GB, free: 25.87 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000709/1.292, allocations: 301.5 kB / 0.88 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003882/1.296, allocations: 1.969 MB / 0.8819 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.296, allocations: 0 / 0.8819 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.297, allocations: 0.5985 MB / 0.8825 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/1.302, allocations: 0.8088 MB / 0.8832 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/1.309, allocations: 3.979 MB / 0.8871 GB, free: 23.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/1.31, allocations: 1.332 MB / 0.8884 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002088/1.312, allocations: 369.1 kB / 0.8888 GB, free: 22.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/1.313, allocations: 114.2 kB / 0.8889 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of SimCode: time 1.093e-06/1.313, allocations: 0 / 0.8889 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.04144/1.354, allocations: 27.59 MB / 0.9158 GB, free: 6.262 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)