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.001004/0.001004, allocations: 100.6 kB / 16.27 MB, free: 5.961 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.001145/0.001145, allocations: 188.5 kB / 17.19 MB, free: 5.59 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.374/1.374, allocations: 222.9 MB / 240.9 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.7859/0.7859, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3476, allocations: 77.92 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5787/0.9263, allocations: 274.6 MB / 0.8354 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.9465, allocations: 17.35 MB / 0.8524 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003686/0.9502, allocations: 65.22 kB / 0.8524 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.9536, allocations: 1.159 MB / 0.8536 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009593/0.9633, allocations: 3.099 MB / 0.8566 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.9683, allocations: 2.205 MB / 0.8588 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006002/0.9743, allocations: 4.836 MB / 0.8635 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.9768, allocations: 1.766 MB / 0.8652 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006171/0.983, allocations: 2.416 MB / 0.8676 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.986, allocations: 1.536 MB / 0.8691 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005679/0.9866, allocations: 192 kB / 0.8692 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006504/0.9931, allocations: 3.013 MB / 0.8722 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.9943, allocations: 0.7226 MB / 0.8729 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.9963, allocations: 1.128 MB / 0.874 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006005/1.002, allocations: 3.798 MB / 0.8777 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.002, allocations: 0 / 0.8777 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.497e-06/1.002, allocations: 0 / 0.8777 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.451e-05/1.002, allocations: 3.938 kB / 0.8777 GB, free: 8.809 MB / 0.5919 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.00398/1.006, allocations: 2.427 MB / 0.8801 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.006, allocations: 8.625 kB / 0.8801 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/1.007, allocations: 198.1 kB / 0.8803 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/1.011, allocations: 0.6404 MB / 0.8809 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/1.013, allocations: 1.344 MB / 0.8822 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/1.013, allocations: 98.55 kB / 0.8823 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/1.014, allocations: 140 kB / 0.8824 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.016, allocations: 1.573 MB / 0.884 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/1.016, allocations: 4 kB / 0.884 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/1.016, allocations: 55.52 kB / 0.884 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.016, allocations: 54.42 kB / 0.8841 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/1.018, allocations: 1.271 MB / 0.8853 GB, free: 0.9141 MB / 0.5919 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.008896/1.027, allocations: 7.264 MB / 0.8924 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.028, allocations: 0.6406 MB / 0.893 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/1.029, allocations: 386.5 kB / 0.8934 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/1.029, allocations: 104.6 kB / 0.8935 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.029, allocations: 43.12 kB / 0.8936 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006195/1.03, allocations: 99.05 kB / 0.8937 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=67): time 2.695e-06/1.03, allocations: 4 kB / 0.8937 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67): time 0.001835/1.032, allocations: 1.015 MB / 0.8946 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.032, allocations: 59.97 kB / 0.8947 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.033, allocations: 1.343 MB / 0.896 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.034, allocations: 45.7 kB / 0.8961 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/1.034, allocations: 0.7775 MB / 0.8968 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.034, allocations: 243.2 kB / 0.897 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.035, allocations: 206.4 kB / 0.8972 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.035, allocations: 341.9 kB / 0.8976 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/1.036, allocations: 360.7 kB / 0.8979 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/1.036, allocations: 0.6801 MB / 0.8986 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/1.038, allocations: 0.9549 MB / 0.8995 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.038, allocations: 3.938 kB / 0.8995 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001992/1.04, allocations: 1.146 MB / 0.9006 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.04, allocations: 12.05 kB / 0.9006 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.04, allocations: 16.03 kB / 0.9007 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.04, allocations: 11.38 kB / 0.9007 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/1.041, allocations: 208.6 kB / 0.9009 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/1.041, allocations: 15.28 kB / 0.9009 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.042, allocations: 51.16 kB / 0.9009 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/1.042, allocations: 39.98 kB / 0.901 GB, free: 236 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/1.043, allocations: 0.6932 MB / 0.9017 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007841/1.044, allocations: 0.682 MB / 0.9023 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/1.046, allocations: 0.9452 MB / 0.9032 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.53e-06/1.046, allocations: 8 kB / 0.9032 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001759/1.047, allocations: 1.149 MB / 0.9044 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.047, allocations: 8 kB / 0.9044 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.047, allocations: 11.94 kB / 0.9044 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.047, allocations: 12 kB / 0.9044 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/1.048, allocations: 211.8 kB / 0.9046 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.048, allocations: 11.19 kB / 0.9046 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.05, allocations: 64.2 kB / 0.9047 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/1.05, allocations: 43.98 kB / 0.9047 GB, free: 12.24 MB / 0.6231 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.0003441/1.05, allocations: 236.6 kB / 0.9049 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/1.05, allocations: 154.2 kB / 0.9051 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.052, allocations: 0.823 MB / 0.9059 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.052, allocations: 8 kB / 0.9059 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.052, allocations: 3.984 kB / 0.9059 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/1.053, allocations: 0.7893 MB / 0.9067 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/1.056, allocations: 2.297 MB / 0.9089 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.056, allocations: 4 kB / 0.9089 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/1.057, allocations: 167.3 kB / 0.9091 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.057, allocations: 4 kB / 0.9091 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/1.057, allocations: 20 kB / 0.9091 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-06/1.057, allocations: 7.844 kB / 0.9091 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.057, allocations: 12.19 kB / 0.9091 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/1.059, allocations: 1.257 MB / 0.9103 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/1.059, allocations: 323.2 kB / 0.9107 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.06, allocations: 16 kB / 0.9107 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/1.061, allocations: 33.72 kB / 0.9107 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/1.061, allocations: 44.44 kB / 0.9107 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/1.061, allocations: 35.98 kB / 0.9108 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001254/1.062, allocations: 0.9044 MB / 0.9117 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/1.062, allocations: 4 kB / 0.9117 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001983/1.064, allocations: 0.8417 MB / 0.9125 GB, free: 4.133 MB / 0.6231 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.002312/1.066, allocations: 1.957 MB / 0.9144 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002504/1.069, allocations: 1.439 MB / 0.9158 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.069, allocations: 4 kB / 0.9158 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/1.069, allocations: 344.5 kB / 0.9161 GB, free: 468 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.073, allocations: 0.8462 MB / 0.917 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.087, allocations: 11.61 MB / 0.9283 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/1.088, allocations: 1.344 MB / 0.9296 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001657/1.089, allocations: 416.3 kB / 0.93 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/1.09, allocations: 0.6212 MB / 0.9306 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/1.09, allocations: 0 / 0.9306 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/1.165, allocations: 41.37 MB / 0.971 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/9.644, allocations: 5.438 kB / 0.971 GB, free: 8.18 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)