Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001153/0.001153, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008883/0.008883, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 222.4 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.646/1.646, allocations: 252 MB / 0.5105 GB, free: 4.578 MB / 414.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.0006053/0.0006054, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5108, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7337/1.245, allocations: 250.7 MB / 0.9735 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01724/1.262, allocations: 9.667 MB / 0.983 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/1.266, allocations: 67.78 kB / 0.983 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/1.27, allocations: 0.8197 MB / 0.9838 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008745/1.278, allocations: 2.554 MB / 0.9863 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008256/1.287, allocations: 1.962 MB / 0.9883 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008408/1.295, allocations: 5.512 MB / 0.9936 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/1.298, allocations: 1.409 MB / 0.995 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/1.303, allocations: 1.639 MB / 0.9966 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004086/1.307, allocations: 1.287 MB / 0.9979 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003939/1.307, allocations: 63.69 kB / 0.9979 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007405/1.315, allocations: 3.417 MB / 1.001 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/1.316, allocations: 491.9 kB / 1.002 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002992/1.319, allocations: 0.9132 MB / 1.003 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009887/1.329, allocations: 3.686 MB / 1.006 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.329, allocations: 0 / 1.006 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/1.329, allocations: 0 / 1.006 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001333/1.329, allocations: 2.906 kB / 1.006 GB, free: 14.56 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.005879/1.335, allocations: 2.127 MB / 1.008 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.335, allocations: 9.844 kB / 1.008 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/1.339, allocations: 0.6236 MB / 1.009 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/1.342, allocations: 1.376 MB / 1.01 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004153/1.342, allocations: 163.1 kB / 1.01 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/1.342, allocations: 123.4 kB / 1.011 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/1.346, allocations: 1.475 MB / 1.012 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/1.346, allocations: 1.031 kB / 1.012 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/1.346, allocations: 51.22 kB / 1.012 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.375e-05/1.346, allocations: 46.56 kB / 1.012 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/1.349, allocations: 1.223 MB / 1.013 GB, free: 10.1 MB / 0.7325 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.009248/1.358, allocations: 5.793 MB / 1.019 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/1.36, allocations: 0.9825 MB / 1.02 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009926/1.361, allocations: 0.5163 MB / 1.02 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/1.362, allocations: 325.5 kB / 1.021 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/1.363, allocations: 0.5612 MB / 1.021 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=79): time 4.278e-06/1.363, allocations: 0 / 1.021 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79): time 0.004189/1.367, allocations: 1.653 MB / 1.023 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/1.367, allocations: 86.64 kB / 1.023 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/1.37, allocations: 1.337 MB / 1.024 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.37, allocations: 46.36 kB / 1.024 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/1.37, allocations: 0.7445 MB / 1.025 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/1.371, allocations: 275.9 kB / 1.025 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.371, allocations: 85.98 kB / 1.025 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.371, allocations: 341.9 kB / 1.026 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/1.372, allocations: 423.9 kB / 1.026 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.373, allocations: 0.6738 MB / 1.027 GB, free: 276 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/1.375, allocations: 1.092 MB / 1.028 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.375, allocations: 4 kB / 1.028 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003058/1.378, allocations: 1.378 MB / 1.029 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002225/1.379, allocations: 279 kB / 1.029 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.379, allocations: 4 kB / 1.029 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/1.379, allocations: 76.8 kB / 1.03 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/1.38, allocations: 212.6 kB / 1.03 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005033/1.38, allocations: 0.5977 MB / 1.03 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.382, allocations: 197.5 kB / 1.03 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.383, allocations: 50.45 kB / 1.031 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.383, allocations: 9.25 kB / 1.031 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002518/1.385, allocations: 1.202 MB / 1.032 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.385, allocations: 8 kB / 1.032 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/1.385, allocations: 48.83 kB / 1.032 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/1.386, allocations: 213.1 kB / 1.032 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/1.388, allocations: 1.61 MB / 1.034 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.39, allocations: 195 kB / 1.034 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/1.39, allocations: 36 kB / 1.034 GB, free: 8.93 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (108): * Single equations (assignments): 104 * 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.0009136/1.391, allocations: 0.5072 MB / 1.034 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/1.391, allocations: 154.1 kB / 1.034 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/1.394, allocations: 1.199 MB / 1.036 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.394, allocations: 8 kB / 1.036 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.394, allocations: 0 / 1.036 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002102/1.396, allocations: 1.079 MB / 1.037 GB, free: 5.926 MB / 0.7481 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.006299/1.402, allocations: 2.801 MB / 1.039 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.402, allocations: 4.031 kB / 1.039 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/1.403, allocations: 175.5 kB / 1.04 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/1.403, allocations: 40.84 kB / 1.04 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-05/1.404, allocations: 31.92 kB / 1.04 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000427/1.404, allocations: 0.59 MB / 1.04 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-06/1.404, allocations: 6.516 kB / 1.04 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/1.408, allocations: 1.866 MB / 1.042 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/1.409, allocations: 349.2 kB / 1.042 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/1.409, allocations: 24 kB / 1.042 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.41, allocations: 107.9 kB / 1.042 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.411, allocations: 59.06 kB / 1.043 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/1.411, allocations: 27.98 kB / 1.043 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001624/1.412, allocations: 0.9059 MB / 1.043 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/1.412, allocations: 0 / 1.043 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002872/1.415, allocations: 0.8025 MB / 1.044 GB, free: 14 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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: 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 (70): * Single equations (assignments): 68 * 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.0007846/1.416, allocations: 281.7 kB / 1.045 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004229/1.42, allocations: 1.904 MB / 1.046 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.42, allocations: 4.062 kB / 1.046 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.421, allocations: 0.5669 MB / 1.047 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.426, allocations: 0.7951 MB / 1.048 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.437, allocations: 3.907 MB / 1.052 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.439, allocations: 1.331 MB / 1.053 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002158/1.441, allocations: 368.4 kB / 1.053 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/1.441, allocations: 115.3 kB / 1.053 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of SimCode: time 1.122e-06/1.441, allocations: 0 / 1.053 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of Templates: time 0.05463/1.496, allocations: 27.27 MB / 1.08 GB, free: 9.879 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: