Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8767/0.8767, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 179.4 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 80.34 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 267.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004442, allocations: 13.47 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.406/3.544, allocations: 1.893 GB / 2.667 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/3.545, allocations: 102.9 kB / 2.667 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.851/7.396, allocations: 1.05 GB / 3.717 GB, free: 83.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/7.396, allocations: 2.812 kB / 3.717 GB, free: 83.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001774/7.396, allocations: 46.62 kB / 3.717 GB, free: 83.16 MB / 0.7136 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.006068/7.402, allocations: 2.363 MB / 3.719 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/7.402, allocations: 9.969 kB / 3.719 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/7.406, allocations: 0.612 MB / 3.72 GB, free: 81.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/7.41, allocations: 1.441 MB / 3.721 GB, free: 81.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/7.41, allocations: 160.9 kB / 3.721 GB, free: 81.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/7.411, allocations: 121.2 kB / 3.721 GB, free: 81.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/7.414, allocations: 1.482 MB / 3.723 GB, free: 81.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/7.414, allocations: 3.375 kB / 3.723 GB, free: 81.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/7.414, allocations: 48.56 kB / 3.723 GB, free: 81.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/7.414, allocations: 47.42 kB / 3.723 GB, free: 81.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/7.416, allocations: 1.241 MB / 3.724 GB, free: 81.42 MB / 0.7136 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.009308/7.426, allocations: 6.026 MB / 3.73 GB, free: 78.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/7.427, allocations: 1.08 MB / 3.731 GB, free: 78.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/7.428, allocations: 314.4 kB / 3.731 GB, free: 78.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/7.429, allocations: 0.5881 MB / 3.732 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 4.097e-06/7.429, allocations: 0 / 3.732 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.004166/7.433, allocations: 1.826 MB / 3.734 GB, free: 77.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/7.433, allocations: 194.7 kB / 3.734 GB, free: 77.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/7.435, allocations: 1.153 MB / 3.735 GB, free: 77.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/7.435, allocations: 42.67 kB / 3.735 GB, free: 77.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/7.436, allocations: 0.7474 MB / 3.736 GB, free: 77.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/7.436, allocations: 273.3 kB / 3.736 GB, free: 77.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/7.436, allocations: 18.66 kB / 3.736 GB, free: 77.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/7.436, allocations: 343.4 kB / 3.736 GB, free: 76.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008508/7.437, allocations: 430.4 kB / 3.737 GB, free: 76.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/7.438, allocations: 0.6754 MB / 3.737 GB, free: 76.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009954/7.439, allocations: 0.5199 MB / 3.738 GB, free: 76.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/7.439, allocations: 0 / 3.738 GB, free: 76.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002654/7.442, allocations: 1.338 MB / 3.739 GB, free: 76.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004311/7.442, allocations: 1.746 MB / 3.741 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/7.442, allocations: 3.875 kB / 3.741 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/7.443, allocations: 51.73 kB / 3.741 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/7.443, allocations: 206.1 kB / 3.741 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003748/7.444, allocations: 0.5918 MB / 3.742 GB, free: 73.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/7.446, allocations: 185.3 kB / 3.742 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/7.446, allocations: 39.97 kB / 3.742 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/7.446, allocations: 3.969 kB / 3.742 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002296/7.448, allocations: 1.2 MB / 3.743 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/7.448, allocations: 3.625 kB / 3.743 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/7.448, allocations: 46.3 kB / 3.743 GB, free: 73.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/7.449, allocations: 212.1 kB / 3.743 GB, free: 73.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/7.451, allocations: 1.6 MB / 3.745 GB, free: 72.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/7.452, allocations: 192.2 kB / 3.745 GB, free: 72.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/7.453, allocations: 38.8 kB / 3.745 GB, free: 72.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (95): * Single equations (assignments): 93 * 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 prepare postOptimizeDAE: time 0.001123/7.454, allocations: 499.4 kB / 3.746 GB, free: 72.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/7.454, allocations: 161.8 kB / 3.746 GB, free: 72.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/7.457, allocations: 1.296 MB / 3.747 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/7.457, allocations: 7.25 kB / 3.747 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/7.457, allocations: 0 / 3.747 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00201/7.459, allocations: 1.151 MB / 3.748 GB, free: 71.77 MB / 0.7136 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.005482/7.464, allocations: 2.946 MB / 3.751 GB, free: 71.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/7.464, allocations: 0 / 3.751 GB, free: 71.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009206/7.465, allocations: 185.5 kB / 3.751 GB, free: 71.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/7.465, allocations: 53.53 kB / 3.751 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/7.465, allocations: 27.88 kB / 3.751 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003323/7.466, allocations: 0.5815 MB / 3.752 GB, free: 70.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/7.466, allocations: 3.656 kB / 3.752 GB, free: 70.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/7.469, allocations: 2.141 MB / 3.754 GB, free: 70.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/7.471, allocations: 356 kB / 3.754 GB, free: 69.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/7.471, allocations: 22.88 kB / 3.754 GB, free: 69.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/7.473, allocations: 123.7 kB / 3.754 GB, free: 69.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/7.473, allocations: 57.11 kB / 3.754 GB, free: 69.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/7.473, allocations: 35.52 kB / 3.755 GB, free: 69.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002214/7.476, allocations: 0.8984 MB / 3.755 GB, free: 69.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/7.476, allocations: 0 / 3.755 GB, free: 69.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005034/7.481, allocations: 1.048 MB / 3.756 GB, free: 69.75 MB / 0.7136 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.004622/7.485, allocations: 2.37 MB / 3.759 GB, free: 68.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004733/7.49, allocations: 1.895 MB / 3.761 GB, free: 68.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/7.49, allocations: 0 / 3.761 GB, free: 68.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/7.491, allocations: 0.6068 MB / 3.761 GB, free: 68.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/7.496, allocations: 0.8094 MB / 3.762 GB, free: 68.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/7.506, allocations: 3.839 MB / 3.766 GB, free: 67.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/7.507, allocations: 1.366 MB / 3.767 GB, free: 66.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002003/7.509, allocations: 365 kB / 3.767 GB, free: 66.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/7.51, allocations: 108.7 kB / 3.768 GB, free: 66.3 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/7.51, allocations: 3.406 kB / 3.768 GB, free: 66.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.08858/7.598, allocations: 53.88 MB / 3.82 GB, free: 57.26 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)