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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_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.001406/0.001406, allocations: 175.2 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.7312/0.7312, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.766/1.766, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.001145/0.001145, allocations: 105.1 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.348e-05, allocations: 3.812 kB / 0.5601 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/5.778, allocations: 1.892 GB / 2.532 GB, free: 37.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/5.779, allocations: 95.94 kB / 2.532 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.237/11.02, allocations: 1.306 GB / 3.838 GB, free: 50.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/11.02, allocations: 0 / 3.838 GB, free: 50.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002442/11.02, allocations: 47.98 kB / 3.838 GB, free: 50.33 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.006502/11.02, allocations: 2.084 MB / 3.84 GB, free: 48.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/11.02, allocations: 15.97 kB / 3.84 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000643/11.02, allocations: 194.1 kB / 3.84 GB, free: 47.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/11.03, allocations: 0.4972 MB / 3.841 GB, free: 47.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004961/11.03, allocations: 1.745 MB / 3.842 GB, free: 45.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/11.03, allocations: 98.55 kB / 3.843 GB, free: 45.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/11.03, allocations: 139.9 kB / 3.843 GB, free: 45.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/11.04, allocations: 1.524 MB / 3.844 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/11.04, allocations: 0 / 3.844 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/11.04, allocations: 60 kB / 3.844 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/11.04, allocations: 42.45 kB / 3.844 GB, free: 43.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/11.04, allocations: 1.239 MB / 3.845 GB, free: 42.5 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.009122/11.05, allocations: 7.189 MB / 3.852 GB, free: 34.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009221/11.05, allocations: 0.6725 MB / 3.853 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/11.05, allocations: 374.8 kB / 3.853 GB, free: 33.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/11.05, allocations: 105.7 kB / 3.854 GB, free: 33.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/11.05, allocations: 43.06 kB / 3.854 GB, free: 33.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001073/11.05, allocations: 183 kB / 3.854 GB, free: 33.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 3.146e-06/11.05, allocations: 0 / 3.854 GB, free: 33.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001252/11.05, allocations: 0.7629 MB / 3.855 GB, free: 32.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/11.05, allocations: 59.97 kB / 3.855 GB, free: 32.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/11.05, allocations: 1.146 MB / 3.856 GB, free: 31.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/11.05, allocations: 45.7 kB / 3.856 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/11.05, allocations: 0.7779 MB / 3.857 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/11.05, allocations: 244.6 kB / 3.857 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/11.05, allocations: 16 kB / 3.857 GB, free: 30.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/11.05, allocations: 338 kB / 3.857 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/11.06, allocations: 313.9 kB / 3.857 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/11.06, allocations: 0.6414 MB / 3.858 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/11.06, allocations: 424.2 kB / 3.858 GB, free: 28.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/11.06, allocations: 4.438 kB / 3.858 GB, free: 28.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001271/11.06, allocations: 1.049 MB / 3.859 GB, free: 27.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003755/11.06, allocations: 2.514 MB / 3.862 GB, free: 24.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/11.06, allocations: 8 kB / 3.862 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/11.06, allocations: 15.94 kB / 3.862 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/11.06, allocations: 195.7 kB / 3.862 GB, free: 24.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/11.06, allocations: 15.94 kB / 3.862 GB, free: 24.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/11.06, allocations: 119.6 kB / 3.862 GB, free: 24.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/11.06, allocations: 39.98 kB / 3.862 GB, free: 24.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/11.06, allocations: 4.625 kB / 3.862 GB, free: 24.33 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/11.06, allocations: 0.8886 MB / 3.863 GB, free: 23.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/11.06, allocations: 4 kB / 3.863 GB, free: 23.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/11.06, allocations: 12 kB / 3.863 GB, free: 23.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/11.06, allocations: 200.4 kB / 3.863 GB, free: 23.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/11.06, allocations: 15.94 kB / 3.863 GB, free: 23.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/11.06, allocations: 119.6 kB / 3.863 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/11.06, allocations: 36 kB / 3.864 GB, free: 23.06 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.0002026/11.07, allocations: 164.9 kB / 3.864 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/11.07, allocations: 158.1 kB / 3.864 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/11.07, allocations: 0.8233 MB / 3.865 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/11.07, allocations: 15.98 kB / 3.865 GB, free: 21.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/11.07, allocations: 0 / 3.865 GB, free: 21.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008135/11.07, allocations: 0.793 MB / 3.865 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/11.07, allocations: 2.33 MB / 3.868 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/11.07, allocations: 3.75 kB / 3.868 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/11.07, allocations: 171.8 kB / 3.868 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/11.07, allocations: 7.953 kB / 3.868 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/11.07, allocations: 20 kB / 3.868 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/11.07, allocations: 4 kB / 3.868 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/11.07, allocations: 0 / 3.868 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/11.07, allocations: 1.426 MB / 3.869 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/11.07, allocations: 323.1 kB / 3.87 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/11.07, allocations: 27.94 kB / 3.87 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/11.07, allocations: 91.81 kB / 3.87 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/11.07, allocations: 44.52 kB / 3.87 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/11.07, allocations: 31.97 kB / 3.87 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001027/11.08, allocations: 0.8876 MB / 3.871 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/11.08, allocations: 0 / 3.871 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003003/11.08, allocations: 1.15 MB / 3.872 GB, free: 14.36 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.005796/11.08, allocations: 5.446 MB / 3.877 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001884/11.09, allocations: 1.283 MB / 3.878 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/11.09, allocations: 0 / 3.878 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/11.09, allocations: 347 kB / 3.879 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/11.09, allocations: 0.8861 MB / 3.88 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/11.1, allocations: 2.705 MB / 3.882 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/11.1, allocations: 1.383 MB / 3.884 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002364/11.1, allocations: 0.5627 MB / 3.884 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/11.1, allocations: 0.5891 MB / 3.885 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/11.1, allocations: 0 / 3.885 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.701/11.8, allocations: 95.79 MB / 3.978 GB, free: 77.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/11.8, allocations: 188.8 kB / 3.978 GB, free: 76.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.627/17.43, allocations: 0 / 3.978 GB, free: 76.82 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)