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.001269/0.001269, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.00164/0.00164, allocations: 172.7 kB / 15.95 MB, free: 208 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.598/1.598, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.543/1.543, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0006343/0.0006344, allocations: 16 kB / 0.6243 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5082, allocations: 106.3 MB / 0.7281 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7429/1.251, allocations: 233.9 MB / 0.9565 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01705/1.268, allocations: 9.102 MB / 0.9654 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00379/1.272, allocations: 63.41 kB / 0.9655 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/1.275, allocations: 0.6252 MB / 0.9661 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007658/1.282, allocations: 1.994 MB / 0.968 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/1.288, allocations: 1.544 MB / 0.9695 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007367/1.295, allocations: 4.719 MB / 0.9741 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/1.298, allocations: 1.171 MB / 0.9753 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/1.302, allocations: 1.557 MB / 0.9768 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/1.305, allocations: 1.216 MB / 0.978 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/1.305, allocations: 63.56 kB / 0.9781 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/1.311, allocations: 1.852 MB / 0.9799 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/1.312, allocations: 481.4 kB / 0.9803 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/1.313, allocations: 400.3 kB / 0.9807 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004991/1.318, allocations: 2.537 MB / 0.9832 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.318, allocations: 1.969 kB / 0.9832 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/1.318, allocations: 0 / 0.9832 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.711e-05/1.318, allocations: 0 / 0.9832 GB, free: 4.418 MB / 0.7169 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.005018/1.323, allocations: 2.154 MB / 0.9853 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.323, allocations: 8.594 kB / 0.9853 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/1.327, allocations: 0.6243 MB / 0.9859 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/1.33, allocations: 1.314 MB / 0.9872 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/1.33, allocations: 157.7 kB / 0.9873 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/1.33, allocations: 133.5 kB / 0.9875 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/1.333, allocations: 1.461 MB / 0.9889 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/1.333, allocations: 5.562 kB / 0.9889 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.333, allocations: 48.19 kB / 0.9889 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/1.333, allocations: 42.81 kB / 0.989 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/1.336, allocations: 1.215 MB / 0.9902 GB, free: 18.08 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.01074/1.346, allocations: 5.795 MB / 0.9958 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/1.349, allocations: 0.9819 MB / 0.9968 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.35, allocations: 0.5173 MB / 0.9973 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/1.35, allocations: 322.4 kB / 0.9976 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/1.352, allocations: 0.557 MB / 0.9981 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=79): time 3.918e-06/1.352, allocations: 3.5 kB / 0.9982 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79): time 0.004322/1.356, allocations: 1.647 MB / 0.9998 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/1.356, allocations: 87.17 kB / 0.9998 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/1.358, allocations: 1.318 MB / 1.001 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.358, allocations: 46.55 kB / 1.001 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/1.359, allocations: 0.7432 MB / 1.002 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/1.359, allocations: 280.9 kB / 1.002 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/1.359, allocations: 19.72 kB / 1.002 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.36, allocations: 343.3 kB / 1.003 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/1.36, allocations: 421.2 kB / 1.003 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.361, allocations: 0.6546 MB / 1.004 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.362, allocations: 0.5093 MB / 1.004 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.362, allocations: 3.938 kB / 1.004 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00299/1.365, allocations: 1.357 MB / 1.005 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/1.366, allocations: 280 kB / 1.006 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.366, allocations: 3.344 kB / 1.006 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/1.366, allocations: 75.11 kB / 1.006 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/1.367, allocations: 205.1 kB / 1.006 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005091/1.368, allocations: 0.6011 MB / 1.007 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.369, allocations: 206.1 kB / 1.007 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/1.369, allocations: 41.77 kB / 1.007 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.369, allocations: 2.625 kB / 1.007 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002206/1.372, allocations: 1.199 MB / 1.008 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.372, allocations: 2.312 kB / 1.008 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/1.372, allocations: 52.19 kB / 1.008 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/1.373, allocations: 212.5 kB / 1.008 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/1.374, allocations: 1.615 MB / 1.01 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.376, allocations: 179.3 kB / 1.01 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/1.376, allocations: 39.53 kB / 1.01 GB, free: 8.234 MB / 0.7325 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 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009132/1.377, allocations: 0.5046 MB / 1.01 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/1.377, allocations: 160.5 kB / 1.011 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.379, allocations: 1.19 MB / 1.012 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.379, allocations: 8.906 kB / 1.012 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.379, allocations: 7.219 kB / 1.012 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/1.381, allocations: 1.07 MB / 1.013 GB, free: 7.242 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 postOpt removeSimpleEquations (simulation): time 0.004726/1.386, allocations: 2.806 MB / 1.016 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.386, allocations: 7.234 kB / 1.016 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/1.387, allocations: 174.7 kB / 1.016 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/1.387, allocations: 45.39 kB / 1.016 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/1.387, allocations: 24.61 kB / 1.016 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004003/1.388, allocations: 0.5869 MB / 1.016 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.388, allocations: 4.719 kB / 1.016 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/1.391, allocations: 1.86 MB / 1.018 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.392, allocations: 343.8 kB / 1.019 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/1.393, allocations: 17.59 kB / 1.019 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.394, allocations: 129.1 kB / 1.019 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.394, allocations: 47.44 kB / 1.019 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/1.394, allocations: 32.67 kB / 1.019 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001563/1.396, allocations: 0.8884 MB / 1.02 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.396, allocations: 0 / 1.02 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002918/1.399, allocations: 0.7932 MB / 1.02 GB, free: 3.883 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007875/1.399, allocations: 291.8 kB / 1.021 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003785/1.403, allocations: 1.897 MB / 1.023 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.403, allocations: 0 / 1.023 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.404, allocations: 0.572 MB / 1.023 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/1.408, allocations: 0.7821 MB / 1.024 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/1.417, allocations: 3.837 MB / 1.028 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.418, allocations: 1.333 MB / 1.029 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002197/1.42, allocations: 360.4 kB / 1.029 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/1.421, allocations: 106 kB / 1.029 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.232e-06/1.421, allocations: 2.625 kB / 1.029 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.04906/1.47, allocations: 26.46 MB / 1.055 GB, free: 1.766 MB / 0.7637 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: