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.8834/0.8834, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001781/0.001782, allocations: 180.6 kB / 182.2 MB, free: 9.453 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.752/1.752, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009593/0.000959, allocations: 88.05 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001976, allocations: 291.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.279e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5743, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.66/6.235, allocations: 1.888 GB / 2.646 GB, free: 130.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/6.235, allocations: 94.77 kB / 2.646 GB, free: 130.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.209/11.44, allocations: 1.292 GB / 3.938 GB, free: 83.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/11.44, allocations: 0 / 3.938 GB, free: 83.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002836/11.44, allocations: 40.42 kB / 3.938 GB, free: 83.2 MB / 0.7292 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.007495/11.45, allocations: 2.089 MB / 3.94 GB, free: 82.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/11.45, allocations: 11 kB / 3.94 GB, free: 82.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/11.46, allocations: 499.8 kB / 3.941 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/11.46, allocations: 1.728 MB / 3.942 GB, free: 81.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.843e-05/11.46, allocations: 40.91 kB / 3.942 GB, free: 81.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/11.46, allocations: 81.19 kB / 3.942 GB, free: 81.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003021/11.47, allocations: 1.156 MB / 3.943 GB, free: 81.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/11.47, allocations: 1.274 MB / 3.945 GB, free: 81.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/11.47, allocations: 6.219 kB / 3.945 GB, free: 81.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/11.47, allocations: 3.875 kB / 3.945 GB, free: 81.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/11.47, allocations: 42.45 kB / 3.945 GB, free: 81.62 MB / 0.7292 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.01027/11.48, allocations: 6.921 MB / 3.952 GB, free: 77.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/11.48, allocations: 0.6436 MB / 3.952 GB, free: 77.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/11.48, allocations: 354 kB / 3.952 GB, free: 77.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/11.48, allocations: 107.7 kB / 3.953 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/11.48, allocations: 51.2 kB / 3.953 GB, free: 77.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001115/11.48, allocations: 139.1 kB / 3.953 GB, free: 77.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=67): time 4.558e-06/11.48, allocations: 0 / 3.953 GB, free: 77.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67): time 0.001681/11.48, allocations: 0.7328 MB / 3.953 GB, free: 77.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/11.48, allocations: 59.48 kB / 3.954 GB, free: 77.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/11.49, allocations: 0.9061 MB / 3.954 GB, free: 77.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/11.49, allocations: 27.8 kB / 3.954 GB, free: 77.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/11.49, allocations: 0.7946 MB / 3.955 GB, free: 77.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/11.49, allocations: 229.5 kB / 3.955 GB, free: 76.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/11.49, allocations: 0 / 3.955 GB, free: 76.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/11.49, allocations: 339.4 kB / 3.956 GB, free: 76.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/11.49, allocations: 300.5 kB / 3.956 GB, free: 76.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/11.49, allocations: 0.6163 MB / 3.957 GB, free: 76.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/11.49, allocations: 408.6 kB / 3.957 GB, free: 76.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/11.49, allocations: 3.656 kB / 3.957 GB, free: 76.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001571/11.49, allocations: 0.9603 MB / 3.958 GB, free: 76.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005677/11.49, allocations: 2.477 MB / 3.96 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/11.49, allocations: 6.219 kB / 3.96 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/11.49, allocations: 13.12 kB / 3.96 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/11.49, allocations: 198.9 kB / 3.961 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/11.49, allocations: 17.69 kB / 3.961 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/11.49, allocations: 91.91 kB / 3.961 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/11.49, allocations: 39.33 kB / 3.961 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/11.49, allocations: 7.062 kB / 3.961 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/11.49, allocations: 0.784 MB / 3.962 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/11.49, allocations: 9.438 kB / 3.962 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/11.49, allocations: 11.56 kB / 3.962 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/11.5, allocations: 202.2 kB / 3.962 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/11.5, allocations: 14.92 kB / 3.962 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/11.5, allocations: 99.67 kB / 3.962 GB, free: 73.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/11.5, allocations: 41.28 kB / 3.962 GB, free: 73.45 MB / 0.7292 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.0002513/11.5, allocations: 133 kB / 3.962 GB, free: 73.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/11.5, allocations: 132.1 kB / 3.962 GB, free: 73.28 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/11.5, allocations: 0.7597 MB / 3.963 GB, free: 73.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/11.5, allocations: 11.09 kB / 3.963 GB, free: 73.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/11.5, allocations: 0 / 3.963 GB, free: 73.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008742/11.5, allocations: 0.7504 MB / 3.964 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/11.5, allocations: 2.123 MB / 3.966 GB, free: 72.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/11.5, allocations: 9.344 kB / 3.966 GB, free: 72.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/11.51, allocations: 166.8 kB / 3.966 GB, free: 72.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/11.51, allocations: 10.55 kB / 3.966 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/11.51, allocations: 7.094 kB / 3.966 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/11.51, allocations: 6.969 kB / 3.966 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/11.51, allocations: 5.016 kB / 3.966 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/11.51, allocations: 1.346 MB / 3.967 GB, free: 72.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/11.51, allocations: 311.2 kB / 3.968 GB, free: 72.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/11.51, allocations: 10.7 kB / 3.968 GB, free: 72.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/11.51, allocations: 80.03 kB / 3.968 GB, free: 72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/11.51, allocations: 42.95 kB / 3.968 GB, free: 72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/11.51, allocations: 35.64 kB / 3.968 GB, free: 72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001154/11.51, allocations: 0.6817 MB / 3.968 GB, free: 71.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/11.51, allocations: 0 / 3.968 GB, free: 71.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004146/11.52, allocations: 1.047 MB / 3.969 GB, free: 71.76 MB / 0.7292 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.006118/11.52, allocations: 3.533 MB / 3.973 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002098/11.52, allocations: 1.194 MB / 3.974 GB, free: 70.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/11.52, allocations: 2.438 kB / 3.974 GB, free: 70.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004728/11.52, allocations: 343.5 kB / 3.974 GB, free: 70.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004333/11.53, allocations: 0.7544 MB / 3.975 GB, free: 70.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/11.53, allocations: 2.256 MB / 3.977 GB, free: 69.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/11.53, allocations: 1.387 MB / 3.979 GB, free: 68.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002715/11.54, allocations: 0.4922 MB / 3.979 GB, free: 68.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/11.54, allocations: 89.69 kB / 3.979 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of SimCode: time 1.373e-06/11.54, allocations: 0 / 3.979 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.07275/11.61, allocations: 43.47 MB / 4.022 GB, free: 65.77 MB / 0.7292 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)