Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_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.001396/0.001396, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001378/0.001378, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8213/0.8213, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 62.67 kB / 0.5735 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2226, allocations: 78.87 MB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6867/0.9093, allocations: 274.7 MB / 0.9189 GB, free: 232 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.9351, allocations: 17.38 MB / 0.9358 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.9384, allocations: 67.62 kB / 0.9359 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.9423, allocations: 1.161 MB / 0.937 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00909/0.9514, allocations: 3.098 MB / 0.94 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006544/0.9579, allocations: 2.209 MB / 0.9422 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008814/0.9668, allocations: 4.834 MB / 0.9469 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/0.9699, allocations: 1.758 MB / 0.9486 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007249/0.9772, allocations: 2.597 MB / 0.9512 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.9808, allocations: 1.519 MB / 0.9527 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007536/0.9816, allocations: 192 kB / 0.9528 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/0.9886, allocations: 3.001 MB / 0.9558 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.9897, allocations: 0.7245 MB / 0.9565 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.9916, allocations: 1.112 MB / 0.9576 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007647/0.9993, allocations: 3.855 MB / 0.9613 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9993, allocations: 0 / 0.9613 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9993, allocations: 0 / 0.9613 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.681e-05/0.9994, allocations: 0 / 0.9613 GB, free: 4.609 MB / 0.7169 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.005322/1.005, allocations: 2.498 MB / 0.9638 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.005, allocations: 12.03 kB / 0.9638 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002631/1.005, allocations: 190.1 kB / 0.964 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/1.01, allocations: 0.6545 MB / 0.9646 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/1.012, allocations: 1.413 MB / 0.966 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.524e-05/1.012, allocations: 102.5 kB / 0.9661 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/1.012, allocations: 136 kB / 0.9662 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/1.015, allocations: 1.573 MB / 0.9677 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.015, allocations: 0 / 0.9677 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/1.015, allocations: 56 kB / 0.9678 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/1.015, allocations: 54.38 kB / 0.9679 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/1.018, allocations: 1.274 MB / 0.9691 GB, free: 12.44 MB / 0.7325 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.009542/1.027, allocations: 7.224 MB / 0.9762 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.028, allocations: 0.649 MB / 0.9768 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/1.029, allocations: 370.3 kB / 0.9771 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/1.029, allocations: 97.66 kB / 0.9772 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.029, allocations: 51.12 kB / 0.9773 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005821/1.03, allocations: 111.3 kB / 0.9774 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 3.467e-06/1.03, allocations: 0 / 0.9774 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001969/1.032, allocations: 1.017 MB / 0.9784 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/1.032, allocations: 63.97 kB / 0.9784 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.034, allocations: 1.339 MB / 0.9797 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/1.034, allocations: 45.7 kB / 0.9798 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/1.035, allocations: 0.7986 MB / 0.9806 GB, free: 48 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/1.035, allocations: 246 kB / 0.9808 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/1.035, allocations: 206.5 kB / 0.981 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.036, allocations: 345.7 kB / 0.9813 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/1.036, allocations: 356.7 kB / 0.9817 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/1.037, allocations: 0.679 MB / 0.9823 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.038, allocations: 0.9528 MB / 0.9833 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.039, allocations: 0 / 0.9833 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001918/1.04, allocations: 1.164 MB / 0.9844 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.04, allocations: 8 kB / 0.9844 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.04, allocations: 4 kB / 0.9844 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.041, allocations: 12 kB / 0.9844 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/1.041, allocations: 207.7 kB / 0.9846 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/1.041, allocations: 20.45 kB / 0.9846 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.043, allocations: 58.88 kB / 0.9847 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/1.043, allocations: 36 kB / 0.9847 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001161/1.044, allocations: 0.6893 MB / 0.9854 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009156/1.045, allocations: 0.6759 MB / 0.9861 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/1.046, allocations: 0.9411 MB / 0.987 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.726e-06/1.046, allocations: 4.109 kB / 0.987 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001979/1.048, allocations: 1.164 MB / 0.9881 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.048, allocations: 12.84 kB / 0.9881 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.048, allocations: 4 kB / 0.9881 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.048, allocations: 16 kB / 0.9882 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/1.049, allocations: 207.7 kB / 0.9884 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.049, allocations: 19.92 kB / 0.9884 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.05, allocations: 48.75 kB / 0.9884 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/1.051, allocations: 40 kB / 0.9885 GB, free: 7.477 MB / 0.7481 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.0003545/1.051, allocations: 247.9 kB / 0.9887 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.051, allocations: 167 kB / 0.9889 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.053, allocations: 0.8241 MB / 0.9897 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.053, allocations: 8 kB / 0.9897 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.053, allocations: 0 / 0.9897 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/1.054, allocations: 0.794 MB / 0.9904 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/1.058, allocations: 2.295 MB / 0.9927 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.058, allocations: 11.88 kB / 0.9927 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/1.059, allocations: 164 kB / 0.9929 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/1.059, allocations: 4 kB / 0.9929 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/1.059, allocations: 20 kB / 0.9929 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/1.059, allocations: 11.94 kB / 0.9929 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.059, allocations: 4 kB / 0.9929 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.061, allocations: 1.266 MB / 0.9941 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/1.061, allocations: 328 kB / 0.9944 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.061, allocations: 20 kB / 0.9945 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/1.062, allocations: 30.56 kB / 0.9945 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/1.062, allocations: 44.5 kB / 0.9945 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/1.062, allocations: 39.92 kB / 0.9946 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001303/1.064, allocations: 0.9044 MB / 0.9955 GB, free: 116 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.064, allocations: 0 / 0.9955 GB, free: 116 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002016/1.066, allocations: 0.8501 MB / 0.9963 GB, free: 15.26 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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.002624/1.068, allocations: 1.966 MB / 0.9982 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.071, allocations: 1.335 MB / 0.9995 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.071, allocations: 8.125 kB / 0.9995 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/1.071, allocations: 347 kB / 0.9998 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/1.075, allocations: 0.8348 MB / 1.001 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.091, allocations: 10.73 MB / 1.011 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.093, allocations: 1.344 MB / 1.012 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001559/1.094, allocations: 412.3 kB / 1.013 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008697/1.095, allocations: 0.6125 MB / 1.013 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/1.095, allocations: 0 / 1.013 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08463/1.18, allocations: 41.72 MB / 1.054 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.15, allocations: 16.12 kB / 1.054 GB, free: 4.012 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)