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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01185/0.01185, allocations: 99.64 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002954/0.002954, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.152/2.152, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.112/1.112, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.78 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2821, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.223/1.505, allocations: 274.6 MB / 0.9274 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03893/1.544, allocations: 17.35 MB / 0.9443 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006573/1.551, allocations: 69.22 kB / 0.9444 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006731/1.558, allocations: 1.158 MB / 0.9455 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01838/1.576, allocations: 3.098 MB / 0.9485 GB, free: 8.219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/1.589, allocations: 2.207 MB / 0.9507 GB, free: 6.023 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0147/1.604, allocations: 4.825 MB / 0.9554 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006362/1.61, allocations: 1.765 MB / 0.9571 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/1.623, allocations: 2.455 MB / 0.9595 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006737/1.63, allocations: 1.534 MB / 0.961 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001657/1.632, allocations: 191.9 kB / 0.9612 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01567/1.648, allocations: 3.009 MB / 0.9642 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002598/1.65, allocations: 0.7207 MB / 0.9649 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004771/1.655, allocations: 1.116 MB / 0.9659 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/1.672, allocations: 3.829 MB / 0.9697 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-05/1.673, allocations: 8 kB / 0.9697 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.268e-06/1.673, allocations: 0 / 0.9697 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001709/1.673, allocations: 0 / 0.9697 GB, free: 2.531 MB / 0.6856 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.01304/1.686, allocations: 2.423 MB / 0.9721 GB, free: 40 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/1.686, allocations: 12.03 kB / 0.9721 GB, free: 28 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009533/1.687, allocations: 202.1 kB / 0.9723 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/1.697, allocations: 0.6377 MB / 0.9729 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005851/1.703, allocations: 1.397 MB / 0.9743 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/1.703, allocations: 98.55 kB / 0.9743 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/1.704, allocations: 143.9 kB / 0.9745 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/1.71, allocations: 1.569 MB / 0.976 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/1.71, allocations: 3.938 kB / 0.976 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/1.711, allocations: 52 kB / 0.9761 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/1.711, allocations: 54.38 kB / 0.9761 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/1.715, allocations: 1.266 MB / 0.9774 GB, free: 10.47 MB / 0.7012 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.02134/1.737, allocations: 7.187 MB / 0.9844 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/1.739, allocations: 0.6451 MB / 0.985 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.741, allocations: 367 kB / 0.9854 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/1.741, allocations: 113.6 kB / 0.9855 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/1.741, allocations: 47.06 kB / 0.9855 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001596/1.743, allocations: 99.11 kB / 0.9856 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 1.101e-05/1.743, allocations: 0 / 0.9856 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.004311/1.747, allocations: 1.009 MB / 0.9866 GB, free: 416 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/1.747, allocations: 63.97 kB / 0.9866 GB, free: 336 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004452/1.752, allocations: 1.339 MB / 0.988 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/1.752, allocations: 41.7 kB / 0.988 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.754, allocations: 0.7813 MB / 0.9888 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000597/1.754, allocations: 244.6 kB / 0.989 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007682/1.755, allocations: 198.5 kB / 0.9892 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002689/1.755, allocations: 341.9 kB / 0.9895 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.756, allocations: 360.6 kB / 0.9899 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.758, allocations: 0.6751 MB / 0.9905 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/1.761, allocations: 0.9527 MB / 0.9914 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/1.761, allocations: 0 / 0.9914 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004108/1.765, allocations: 1.152 MB / 0.9926 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.765, allocations: 8.125 kB / 0.9926 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/1.765, allocations: 8 kB / 0.9926 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/1.765, allocations: 12 kB / 0.9926 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/1.767, allocations: 211.7 kB / 0.9928 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/1.767, allocations: 16.64 kB / 0.9928 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.77, allocations: 43.97 kB / 0.9929 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.77, allocations: 43.98 kB / 0.9929 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002915/1.773, allocations: 0.6815 MB / 0.9936 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001805/1.775, allocations: 0.6805 MB / 0.9942 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002831/1.778, allocations: 0.941 MB / 0.9951 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.921e-05/1.778, allocations: 4 kB / 0.9951 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.004288/1.782, allocations: 1.157 MB / 0.9963 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.783, allocations: 11.94 kB / 0.9963 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/1.783, allocations: 4 kB / 0.9963 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.783, allocations: 12 kB / 0.9963 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.784, allocations: 215.7 kB / 0.9965 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.716e-05/1.785, allocations: 15.98 kB / 0.9965 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/1.788, allocations: 59.69 kB / 0.9966 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/1.788, allocations: 43.98 kB / 0.9966 GB, free: 5.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007362/1.789, allocations: 240 kB / 0.9969 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.79, allocations: 158.1 kB / 0.997 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/1.793, allocations: 0.8202 MB / 0.9978 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.793, allocations: 8 kB / 0.9978 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.793, allocations: 0 / 0.9978 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002239/1.795, allocations: 0.7824 MB / 0.9986 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009853/1.805, allocations: 2.29 MB / 1.001 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.805, allocations: 4 kB / 1.001 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.807, allocations: 167.8 kB / 1.001 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/1.807, allocations: 7.984 kB / 1.001 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/1.807, allocations: 20 kB / 1.001 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/1.807, allocations: 4 kB / 1.001 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.807, allocations: 4 kB / 1.001 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/1.811, allocations: 1.312 MB / 1.002 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/1.813, allocations: 323 kB / 1.003 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008197/1.814, allocations: 27.98 kB / 1.003 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/1.817, allocations: 23.98 kB / 1.003 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.817, allocations: 56.38 kB / 1.003 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/1.817, allocations: 31.92 kB / 1.003 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003688/1.821, allocations: 0.9083 MB / 1.004 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.41e-07/1.821, allocations: 0 / 1.004 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005715/1.827, allocations: 0.8379 MB / 1.004 GB, free: 13.39 MB / 0.7325 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005624/1.832, allocations: 2 MB / 1.006 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005193/1.838, allocations: 1.333 MB / 1.008 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/1.838, allocations: 5.812 kB / 1.008 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.839, allocations: 343 kB / 1.008 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008711/1.848, allocations: 0.8469 MB / 1.009 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03534/1.883, allocations: 10.63 MB / 1.019 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/1.885, allocations: 1.352 MB / 1.021 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004069/1.889, allocations: 416.3 kB / 1.021 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.891, allocations: 0.6125 MB / 1.022 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of SimCode: time 7.123e-06/1.891, allocations: 0 / 1.022 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1584/2.05, allocations: 42.41 MB / 1.063 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/24.64, allocations: 8.516 kB / 1.063 GB, free: 1.629 MB / 0.7794 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/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)