Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005665/0.005665, allocations: 170.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7533/0.7533, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.51/1.51, allocations: 223.2 MB / 406.8 MB, free: 3.164 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.0009306/0.0009303, allocations: 101.1 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.4999, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.11/5.61, allocations: 1.892 GB / 2.541 GB, free: 45.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/5.611, allocations: 97.08 kB / 2.541 GB, free: 45.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.039/10.65, allocations: 1.307 GB / 3.848 GB, free: 45.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/10.65, allocations: 4 kB / 3.848 GB, free: 45.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001984/10.65, allocations: 43.98 kB / 3.848 GB, free: 45.68 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.007383/10.66, allocations: 2.38 MB / 3.851 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/10.66, allocations: 12.03 kB / 3.851 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005912/10.66, allocations: 194.1 kB / 3.851 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/10.66, allocations: 497.2 kB / 3.851 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/10.67, allocations: 1.749 MB / 3.853 GB, free: 40.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/10.67, allocations: 106.5 kB / 3.853 GB, free: 40.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/10.67, allocations: 139.9 kB / 3.853 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/10.67, allocations: 1.551 MB / 3.855 GB, free: 38.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/10.67, allocations: 3.422 kB / 3.855 GB, free: 38.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/10.67, allocations: 63.98 kB / 3.855 GB, free: 38.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/10.67, allocations: 50.44 kB / 3.855 GB, free: 38.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/10.67, allocations: 1.255 MB / 3.856 GB, free: 37.48 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.009741/10.68, allocations: 7.199 MB / 3.863 GB, free: 29.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/10.68, allocations: 0.6764 MB / 3.864 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/10.68, allocations: 105.6 kB / 3.864 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/10.68, allocations: 51.11 kB / 3.864 GB, free: 28.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001482/10.69, allocations: 167.1 kB / 3.864 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 4.479e-06/10.69, allocations: 0 / 3.864 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.00196/10.69, allocations: 1.032 MB / 3.865 GB, free: 27.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/10.69, allocations: 63.97 kB / 3.865 GB, free: 27.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/10.69, allocations: 1.156 MB / 3.866 GB, free: 26.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-05/10.69, allocations: 41.7 kB / 3.866 GB, free: 26.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/10.69, allocations: 0.7818 MB / 3.867 GB, free: 25.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/10.69, allocations: 240.5 kB / 3.867 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/10.69, allocations: 20 kB / 3.867 GB, free: 25.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/10.69, allocations: 341.9 kB / 3.868 GB, free: 25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/10.69, allocations: 321.8 kB / 3.868 GB, free: 24.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/10.69, allocations: 0.6533 MB / 3.869 GB, free: 23.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/10.69, allocations: 425.5 kB / 3.869 GB, free: 23.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/10.69, allocations: 448 / 3.869 GB, free: 23.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001394/10.69, allocations: 1.074 MB / 3.87 GB, free: 22.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006166/10.69, allocations: 2.505 MB / 3.873 GB, free: 19.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/10.69, allocations: 8 kB / 3.873 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/10.69, allocations: 23.55 kB / 3.873 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/10.7, allocations: 195.7 kB / 3.873 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/10.7, allocations: 19.94 kB / 3.873 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/10.7, allocations: 119.6 kB / 3.873 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/10.7, allocations: 32 kB / 3.873 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/10.7, allocations: 4 kB / 3.873 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/10.7, allocations: 0.9134 MB / 3.874 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/10.7, allocations: 8 kB / 3.874 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/10.7, allocations: 12 kB / 3.874 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/10.7, allocations: 195.7 kB / 3.874 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/10.7, allocations: 12.5 kB / 3.874 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/10.7, allocations: 111.7 kB / 3.874 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/10.7, allocations: 39.98 kB / 3.874 GB, free: 18.08 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 () * Number of clocked 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.001102/10.7, allocations: 0.4931 MB / 3.875 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/10.7, allocations: 150.2 kB / 3.875 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/10.7, allocations: 0.8318 MB / 3.876 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/10.7, allocations: 12 kB / 3.876 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/10.7, allocations: 0 / 3.876 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007776/10.7, allocations: 0.8018 MB / 3.876 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/10.71, allocations: 2.346 MB / 3.879 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/10.71, allocations: 11.94 kB / 3.879 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/10.71, allocations: 159.9 kB / 3.879 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/10.71, allocations: 7.984 kB / 3.879 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/10.71, allocations: 23.94 kB / 3.879 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/10.71, allocations: 7.953 kB / 3.879 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/10.71, allocations: 4 kB / 3.879 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/10.71, allocations: 1.433 MB / 3.88 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/10.71, allocations: 319.3 kB / 3.881 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/10.71, allocations: 19.98 kB / 3.881 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/10.71, allocations: 103.7 kB / 3.881 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/10.71, allocations: 40.52 kB / 3.881 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/10.71, allocations: 35.97 kB / 3.881 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00127/10.72, allocations: 0.8966 MB / 3.882 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-07/10.72, allocations: 0 / 3.882 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003806/10.72, allocations: 1.166 MB / 3.883 GB, free: 8.988 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 () * Number of clocked 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.007484/10.73, allocations: 5.458 MB / 3.888 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002273/10.73, allocations: 1.244 MB / 3.889 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/10.73, allocations: 4 kB / 3.889 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/10.73, allocations: 360.6 kB / 3.89 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/10.73, allocations: 0.8772 MB / 3.891 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/10.76, allocations: 13.08 MB / 3.903 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/10.76, allocations: 1.384 MB / 3.905 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002394/10.76, allocations: 428.5 kB / 3.905 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/10.76, allocations: 0.6086 MB / 3.906 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/10.76, allocations: 0 / 3.906 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6653/11.43, allocations: 86.33 MB / 3.99 GB, free: 82.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/11.43, allocations: 224.2 kB / 3.99 GB, free: 82.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.551/16.98, allocations: 1.422 kB / 3.99 GB, free: 82.73 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)