Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8335/0.8335, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 186.6 kB / 187.3 MB, free: 11.89 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.706/1.706, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009372/0.0009372, allocations: 100.6 kB / 0.5124 GB, free: 24.3 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 278.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.414e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5291, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.844/5.374, allocations: 1.889 GB / 2.653 GB, free: 158.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/5.374, allocations: 95.89 kB / 2.653 GB, free: 158.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.328/10.7, allocations: 1.306 GB / 3.959 GB, free: 93.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/10.7, allocations: 2.844 kB / 3.959 GB, free: 93.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001909/10.7, allocations: 45.42 kB / 3.959 GB, free: 93.92 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006833/10.71, allocations: 2.089 MB / 3.961 GB, free: 92.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/10.71, allocations: 10.84 kB / 3.961 GB, free: 92.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/10.71, allocations: 0.4965 MB / 3.962 GB, free: 92.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/10.72, allocations: 1.73 MB / 3.963 GB, free: 92.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/10.72, allocations: 99.17 kB / 3.963 GB, free: 92.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/10.72, allocations: 138.7 kB / 3.964 GB, free: 92.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/10.72, allocations: 1.526 MB / 3.965 GB, free: 92.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/10.72, allocations: 1.219 kB / 3.965 GB, free: 92.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/10.72, allocations: 63.59 kB / 3.965 GB, free: 92.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/10.72, allocations: 49.27 kB / 3.965 GB, free: 92.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/10.73, allocations: 1.23 MB / 3.966 GB, free: 92.32 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.01152/10.74, allocations: 7.202 MB / 3.973 GB, free: 88.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/10.74, allocations: 0.6738 MB / 3.974 GB, free: 88.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/10.74, allocations: 376.6 kB / 3.974 GB, free: 88.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/10.74, allocations: 107.9 kB / 3.975 GB, free: 88.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/10.74, allocations: 48.75 kB / 3.975 GB, free: 88.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001273/10.74, allocations: 166 kB / 3.975 GB, free: 88.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 4.468e-06/10.74, allocations: 1.688 kB / 3.975 GB, free: 88.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.001489/10.74, allocations: 0.7779 MB / 3.975 GB, free: 88.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/10.74, allocations: 60.81 kB / 3.976 GB, free: 88.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/10.74, allocations: 1.136 MB / 3.977 GB, free: 87.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/10.74, allocations: 44.67 kB / 3.977 GB, free: 87.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/10.74, allocations: 0.7784 MB / 3.977 GB, free: 87.69 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/10.74, allocations: 246.7 kB / 3.978 GB, free: 87.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/10.74, allocations: 15.41 kB / 3.978 GB, free: 87.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/10.74, allocations: 341.5 kB / 3.978 GB, free: 87.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/10.75, allocations: 311.2 kB / 3.978 GB, free: 87.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/10.75, allocations: 0.6416 MB / 3.979 GB, free: 86.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/10.75, allocations: 428.7 kB / 3.979 GB, free: 86.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/10.75, allocations: 0 / 3.979 GB, free: 86.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001639/10.75, allocations: 1.057 MB / 3.98 GB, free: 86.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005539/10.75, allocations: 2.508 MB / 3.983 GB, free: 84.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/10.75, allocations: 9.844 kB / 3.983 GB, free: 84.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/10.75, allocations: 12.25 kB / 3.983 GB, free: 84.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/10.75, allocations: 193.1 kB / 3.983 GB, free: 84.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/10.75, allocations: 17.05 kB / 3.983 GB, free: 84.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/10.75, allocations: 118.7 kB / 3.983 GB, free: 84.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/10.75, allocations: 43.3 kB / 3.983 GB, free: 84.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/10.75, allocations: 4.688 kB / 3.983 GB, free: 84.15 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/10.75, allocations: 0.8861 MB / 3.984 GB, free: 84.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/10.75, allocations: 9.094 kB / 3.984 GB, free: 84.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/10.75, allocations: 12.19 kB / 3.984 GB, free: 84.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/10.75, allocations: 201.8 kB / 3.984 GB, free: 84.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/10.75, allocations: 15.34 kB / 3.984 GB, free: 84.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/10.76, allocations: 114.4 kB / 3.984 GB, free: 84.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/10.76, allocations: 39.2 kB / 3.984 GB, free: 84.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002996/10.76, allocations: 163.9 kB / 3.985 GB, free: 84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/10.76, allocations: 149.4 kB / 3.985 GB, free: 83.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/10.76, allocations: 0.8367 MB / 3.986 GB, free: 83.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/10.76, allocations: 11.42 kB / 3.986 GB, free: 83.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/10.76, allocations: 5.5 kB / 3.986 GB, free: 83.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000882/10.76, allocations: 0.7847 MB / 3.986 GB, free: 83.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/10.76, allocations: 2.333 MB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/10.76, allocations: 6.188 kB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/10.76, allocations: 165.7 kB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/10.76, allocations: 3.656 kB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/10.76, allocations: 20.41 kB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/10.76, allocations: 10.23 kB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/10.76, allocations: 7.531 kB / 3.989 GB, free: 83.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/10.77, allocations: 1.416 MB / 3.99 GB, free: 82.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/10.77, allocations: 323.2 kB / 3.991 GB, free: 82.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/10.77, allocations: 17.91 kB / 3.991 GB, free: 82.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/10.77, allocations: 102.2 kB / 3.991 GB, free: 82.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/10.77, allocations: 41.88 kB / 3.991 GB, free: 82.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/10.77, allocations: 33.3 kB / 3.991 GB, free: 82.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001647/10.77, allocations: 0.8778 MB / 3.992 GB, free: 82.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/10.77, allocations: 0 / 3.992 GB, free: 82.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00478/10.78, allocations: 1.172 MB / 3.993 GB, free: 82.37 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006123/10.78, allocations: 3.186 MB / 3.996 GB, free: 81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002413/10.78, allocations: 1.27 MB / 3.997 GB, free: 80.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/10.78, allocations: 3.625 kB / 3.997 GB, free: 80.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/10.78, allocations: 354.7 kB / 3.997 GB, free: 80.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005043/10.79, allocations: 0.892 MB / 3.998 GB, free: 80.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/10.79, allocations: 2.322 MB / 4.001 GB, free: 80.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/10.79, allocations: 1.386 MB / 4.002 GB, free: 79.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002778/10.8, allocations: 0.5582 MB / 4.002 GB, free: 79.56 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/10.8, allocations: 99.59 kB / 4.003 GB, free: 79.55 MB / 0.7448 GB Notification: Performance of SimCode: time 1.733e-06/10.8, allocations: 3.938 kB / 4.003 GB, free: 79.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.1047/10.9, allocations: 72.76 MB / 4.074 GB, free: 71.82 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)