Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 175.4 kB / 7.46 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5957/0.5957, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007997/0.0007998, allocations: 97.45 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 2.438 kB / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 82.3 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.823/2.932, allocations: 1.891 GB / 2.524 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/2.932, allocations: 91.45 kB / 2.524 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.507/6.44, allocations: 1.307 GB / 3.831 GB, free: 75.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001094/6.44, allocations: 49.33 kB / 3.831 GB, free: 75.66 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003466/6.443, allocations: 2.107 MB / 3.833 GB, free: 74.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/6.444, allocations: 10.09 kB / 3.833 GB, free: 74.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/6.448, allocations: 0.6458 MB / 3.834 GB, free: 74.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/6.451, allocations: 1.773 MB / 3.835 GB, free: 73.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/6.451, allocations: 40.28 kB / 3.835 GB, free: 73.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/6.452, allocations: 85.52 kB / 3.836 GB, free: 73.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002119/6.454, allocations: 1.21 MB / 3.837 GB, free: 73.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/6.456, allocations: 1.301 MB / 3.838 GB, free: 73.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/6.456, allocations: 5.812 kB / 3.838 GB, free: 73.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/6.456, allocations: 2 kB / 3.838 GB, free: 73.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/6.456, allocations: 45.11 kB / 3.838 GB, free: 73.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008032/6.464, allocations: 7.268 MB / 3.845 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/6.465, allocations: 0.6567 MB / 3.846 GB, free: 68.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/6.465, allocations: 376.5 kB / 3.846 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/6.466, allocations: 274 kB / 3.846 GB, free: 67.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/6.466, allocations: 45.47 kB / 3.846 GB, free: 67.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 2.434e-06/6.466, allocations: 0 / 3.846 GB, free: 67.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001935/6.468, allocations: 0.8032 MB / 3.847 GB, free: 67.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/6.468, allocations: 58.47 kB / 3.847 GB, free: 67.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/6.469, allocations: 0.9246 MB / 3.848 GB, free: 66.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/6.469, allocations: 28.92 kB / 3.848 GB, free: 66.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/6.469, allocations: 0.5814 MB / 3.849 GB, free: 66.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/6.469, allocations: 227.6 kB / 3.849 GB, free: 66.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/6.469, allocations: 0 / 3.849 GB, free: 66.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/6.469, allocations: 341.7 kB / 3.849 GB, free: 65.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/6.47, allocations: 304 kB / 3.85 GB, free: 65.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/6.47, allocations: 0.6196 MB / 3.85 GB, free: 65.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/6.471, allocations: 419.8 kB / 3.851 GB, free: 65.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/6.471, allocations: 0 / 3.851 GB, free: 65.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001212/6.472, allocations: 0.9819 MB / 3.852 GB, free: 64.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003232/6.472, allocations: 2.471 MB / 3.854 GB, free: 62.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/6.472, allocations: 8.156 kB / 3.854 GB, free: 62.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/6.472, allocations: 10.06 kB / 3.854 GB, free: 62.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/6.473, allocations: 200.5 kB / 3.854 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/6.473, allocations: 15.31 kB / 3.854 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/6.475, allocations: 129.2 kB / 3.854 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/6.475, allocations: 37.75 kB / 3.854 GB, free: 62.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/6.475, allocations: 6.781 kB / 3.854 GB, free: 62.06 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/6.476, allocations: 0.8047 MB / 3.855 GB, free: 61.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/6.476, allocations: 6.906 kB / 3.855 GB, free: 61.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/6.476, allocations: 13.09 kB / 3.855 GB, free: 61.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/6.477, allocations: 203 kB / 3.855 GB, free: 61.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/6.477, allocations: 18.34 kB / 3.855 GB, free: 61.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/6.478, allocations: 114.1 kB / 3.855 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/6.478, allocations: 43.05 kB / 3.856 GB, free: 61.71 MB / 0.7136 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.0001632/6.478, allocations: 129.4 kB / 3.856 GB, free: 61.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/6.478, allocations: 137.2 kB / 3.856 GB, free: 61.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/6.48, allocations: 0.7721 MB / 3.857 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/6.48, allocations: 9.719 kB / 3.857 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/6.48, allocations: 0.8125 kB / 3.857 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008472/6.481, allocations: 0.7689 MB / 3.857 GB, free: 60.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/6.483, allocations: 2.173 MB / 3.859 GB, free: 58.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/6.483, allocations: 3.906 kB / 3.859 GB, free: 58.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/6.484, allocations: 171 kB / 3.86 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/6.484, allocations: 4 kB / 3.86 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/6.484, allocations: 15.92 kB / 3.86 GB, free: 58.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/6.484, allocations: 8 kB / 3.86 GB, free: 58.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/6.484, allocations: 7.938 kB / 3.86 GB, free: 58.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/6.485, allocations: 1.371 MB / 3.861 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/6.486, allocations: 315.3 kB / 3.861 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/6.486, allocations: 7.984 kB / 3.861 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/6.487, allocations: 88.33 kB / 3.861 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/6.487, allocations: 44.53 kB / 3.861 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/6.487, allocations: 30.86 kB / 3.861 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0006689/6.488, allocations: 0.6933 MB / 3.862 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002196/6.49, allocations: 1.06 MB / 3.863 GB, free: 54.97 MB / 0.7136 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.003332/6.493, allocations: 3.53 MB / 3.867 GB, free: 51.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001479/6.495, allocations: 1.234 MB / 3.868 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.495, allocations: 0 / 3.868 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/6.495, allocations: 350.3 kB / 3.868 GB, free: 50.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/6.498, allocations: 0.7129 MB / 3.869 GB, free: 49.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/6.502, allocations: 2.317 MB / 3.871 GB, free: 47.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000919/6.503, allocations: 1.509 MB / 3.873 GB, free: 45.84 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/6.503, allocations: 0 / 3.873 GB, free: 45.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.05656/6.559, allocations: 46.89 MB / 3.918 GB, free: 15.71 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)