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.00124/0.00124, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7435/0.7435, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.75/1.75, allocations: 221.3 MB / 400.4 MB, free: 5.867 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.0014/0.0014, allocations: 89.77 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.099e-05/5.108e-05, allocations: 4.406 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 82.31 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.587/5.784, allocations: 1.892 GB / 2.532 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/5.785, allocations: 87.95 kB / 2.532 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.183/10.97, allocations: 1.306 GB / 3.838 GB, free: 51.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.364e-06/10.97, allocations: 0 / 3.838 GB, free: 51.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002933/10.97, allocations: 47.98 kB / 3.838 GB, free: 51.19 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.007809/10.98, allocations: 2.086 MB / 3.84 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/10.98, allocations: 15.97 kB / 3.84 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005798/10.98, allocations: 194.1 kB / 3.84 GB, free: 48.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/10.98, allocations: 0.4932 MB / 3.841 GB, free: 48.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/10.99, allocations: 1.733 MB / 3.842 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/10.99, allocations: 98.55 kB / 3.843 GB, free: 46.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/10.99, allocations: 140 kB / 3.843 GB, free: 46.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/10.99, allocations: 1.528 MB / 3.844 GB, free: 44.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/10.99, allocations: 4 kB / 3.844 GB, free: 44.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/10.99, allocations: 56 kB / 3.844 GB, free: 44.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/10.99, allocations: 54.38 kB / 3.844 GB, free: 44.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/10.99, allocations: 1.228 MB / 3.845 GB, free: 43.36 MB / 0.7136 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.009487/11, allocations: 7.205 MB / 3.852 GB, free: 35.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/11, allocations: 0.6647 MB / 3.853 GB, free: 34.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/11, allocations: 374.8 kB / 3.853 GB, free: 34.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/11, allocations: 113.6 kB / 3.854 GB, free: 34.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/11, allocations: 47.12 kB / 3.854 GB, free: 34.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/11.01, allocations: 167 kB / 3.854 GB, free: 34.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 6.552e-06/11.01, allocations: 0 / 3.854 GB, free: 34.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001592/11.01, allocations: 0.7668 MB / 3.855 GB, free: 33.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/11.01, allocations: 63.97 kB / 3.855 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/11.01, allocations: 1.143 MB / 3.856 GB, free: 32.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/11.01, allocations: 45.7 kB / 3.856 GB, free: 32.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/11.01, allocations: 0.7817 MB / 3.857 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/11.01, allocations: 240.6 kB / 3.857 GB, free: 31.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/11.01, allocations: 16 kB / 3.857 GB, free: 31.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/11.01, allocations: 341.9 kB / 3.857 GB, free: 30.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/11.01, allocations: 309.9 kB / 3.857 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/11.01, allocations: 0.6415 MB / 3.858 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/11.01, allocations: 423.8 kB / 3.858 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/11.01, allocations: 4 kB / 3.858 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001531/11.01, allocations: 1.053 MB / 3.859 GB, free: 28.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005489/11.01, allocations: 2.503 MB / 3.862 GB, free: 25.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/11.01, allocations: 8 kB / 3.862 GB, free: 25.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/11.01, allocations: 12 kB / 3.862 GB, free: 25.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/11.01, allocations: 195.7 kB / 3.862 GB, free: 25.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/11.01, allocations: 15.98 kB / 3.862 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/11.02, allocations: 115.6 kB / 3.862 GB, free: 25.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/11.02, allocations: 40.42 kB / 3.862 GB, free: 25.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/11.02, allocations: 4 kB / 3.862 GB, free: 25.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/11.02, allocations: 0.8893 MB / 3.863 GB, free: 24.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/11.02, allocations: 8.031 kB / 3.863 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/11.02, allocations: 15.94 kB / 3.863 GB, free: 24.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/11.02, allocations: 199.7 kB / 3.863 GB, free: 24.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/11.02, allocations: 15.98 kB / 3.863 GB, free: 24.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/11.02, allocations: 119.6 kB / 3.863 GB, free: 23.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/11.02, allocations: 39.98 kB / 3.864 GB, free: 23.92 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.0002135/11.02, allocations: 160.9 kB / 3.864 GB, free: 23.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/11.02, allocations: 154.1 kB / 3.864 GB, free: 23.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/11.02, allocations: 0.8272 MB / 3.865 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/11.02, allocations: 8 kB / 3.865 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/11.02, allocations: 3.938 kB / 3.865 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007867/11.02, allocations: 0.793 MB / 3.865 GB, free: 21.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/11.03, allocations: 2.33 MB / 3.868 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/11.03, allocations: 4 kB / 3.868 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/11.03, allocations: 171.8 kB / 3.868 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/11.03, allocations: 12.14 kB / 3.868 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/11.03, allocations: 23.7 kB / 3.868 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/11.03, allocations: 4 kB / 3.868 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/11.03, allocations: 4 kB / 3.868 GB, free: 19.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/11.03, allocations: 1.422 MB / 3.869 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/11.03, allocations: 327.1 kB / 3.87 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/11.03, allocations: 27.95 kB / 3.87 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/11.03, allocations: 95.75 kB / 3.87 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/11.03, allocations: 44.5 kB / 3.87 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/11.03, allocations: 31.98 kB / 3.87 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001048/11.03, allocations: 0.8836 MB / 3.871 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.232e-06/11.03, allocations: 0 / 3.871 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003129/11.04, allocations: 1.154 MB / 3.872 GB, free: 15.21 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.005764/11.04, allocations: 5.444 MB / 3.877 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001926/11.04, allocations: 1.275 MB / 3.878 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/11.04, allocations: 0 / 3.878 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/11.04, allocations: 351.7 kB / 3.879 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/11.05, allocations: 0.8823 MB / 3.88 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/11.05, allocations: 2.709 MB / 3.882 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/11.05, allocations: 1.379 MB / 3.884 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002288/11.06, allocations: 0.5668 MB / 3.884 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/11.06, allocations: 0.5852 MB / 3.885 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/11.06, allocations: 0 / 3.885 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6968/11.75, allocations: 95.78 MB / 3.978 GB, free: 76.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/11.75, allocations: 192.1 kB / 3.978 GB, free: 76.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.284/17.04, allocations: 0 / 3.978 GB, free: 76.41 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)