Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7793/0.7793, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.00128, allocations: 176.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.1 MB / 404.5 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 94.34 kB / 481.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.121e-05, allocations: 4 kB / 0.5533 GB, free: 54.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 76.75 MB / 0.6282 GB, free: 9.965 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.563/5.734, allocations: 2.159 GB / 2.787 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/5.734, allocations: 91.95 kB / 2.787 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.325/11.06, allocations: 1.286 GB / 4.073 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/11.06, allocations: 0 / 4.073 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001622/11.06, allocations: 48.86 kB / 4.073 GB, free: 64.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.006804/11.07, allocations: 2.183 MB / 4.075 GB, free: 63.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/11.07, allocations: 8.656 kB / 4.075 GB, free: 63.44 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003702/11.07, allocations: 198.6 kB / 4.075 GB, free: 63.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/11.07, allocations: 0.4959 MB / 4.076 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/11.08, allocations: 1.555 MB / 4.077 GB, free: 62.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/11.08, allocations: 105.2 kB / 4.078 GB, free: 62.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/11.08, allocations: 146.5 kB / 4.078 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/11.08, allocations: 1.701 MB / 4.079 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/11.08, allocations: 3.781 kB / 4.079 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/11.08, allocations: 55.22 kB / 4.079 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/11.08, allocations: 49.88 kB / 4.079 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/11.08, allocations: 1.383 MB / 4.081 GB, free: 62.63 MB / 0.6823 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.01025/11.09, allocations: 7.399 MB / 4.088 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/11.1, allocations: 0.8234 MB / 4.089 GB, free: 58.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/11.1, allocations: 370.1 kB / 4.089 GB, free: 58.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/11.1, allocations: 14.12 kB / 4.089 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/11.1, allocations: 45.88 kB / 4.089 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001349/11.1, allocations: 172.6 kB / 4.089 GB, free: 58.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.557e-06/11.1, allocations: 0 / 4.089 GB, free: 58.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002355/11.1, allocations: 0.9239 MB / 4.09 GB, free: 58.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/11.1, allocations: 58.16 kB / 4.09 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/11.1, allocations: 1.178 MB / 4.091 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.12e-05/11.1, allocations: 45.36 kB / 4.092 GB, free: 58.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/11.1, allocations: 0.8119 MB / 4.092 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/11.1, allocations: 242.4 kB / 4.093 GB, free: 57.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/11.1, allocations: 18.56 kB / 4.093 GB, free: 57.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/11.1, allocations: 347.4 kB / 4.093 GB, free: 57.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/11.1, allocations: 346.5 kB / 4.093 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/11.1, allocations: 0.643 MB / 4.094 GB, free: 57.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/11.1, allocations: 0.5112 MB / 4.094 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/11.1, allocations: 0 / 4.094 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001771/11.11, allocations: 1.221 MB / 4.096 GB, free: 56.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009247/11.11, allocations: 2.913 MB / 4.098 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/11.11, allocations: 7.844 kB / 4.098 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/11.11, allocations: 11.75 kB / 4.098 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/11.11, allocations: 232.3 kB / 4.099 GB, free: 53.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/11.11, allocations: 20.88 kB / 4.099 GB, free: 53.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/11.11, allocations: 141.4 kB / 4.099 GB, free: 53.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/11.11, allocations: 47.08 kB / 4.099 GB, free: 53.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/11.11, allocations: 3.938 kB / 4.099 GB, free: 53.74 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/11.11, allocations: 1.043 MB / 4.1 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/11.11, allocations: 7.938 kB / 4.1 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/11.11, allocations: 13.84 kB / 4.1 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/11.11, allocations: 210.2 kB / 4.1 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/11.11, allocations: 18.78 kB / 4.1 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/11.11, allocations: 109.7 kB / 4.1 GB, free: 53.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/11.11, allocations: 45.38 kB / 4.1 GB, free: 53.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 2 * 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.0003227/11.11, allocations: 170.3 kB / 4.1 GB, free: 53.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/11.12, allocations: 162.3 kB / 4.101 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/11.12, allocations: 0.8515 MB / 4.101 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/11.12, allocations: 5.688 kB / 4.101 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/11.12, allocations: 0 / 4.101 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/11.12, allocations: 0.8118 MB / 4.102 GB, free: 53.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/11.12, allocations: 2.195 MB / 4.104 GB, free: 52.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/11.12, allocations: 7.578 kB / 4.104 GB, free: 52.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008873/11.12, allocations: 182.3 kB / 4.105 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/11.12, allocations: 3.938 kB / 4.105 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/11.12, allocations: 17.62 kB / 4.105 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/11.12, allocations: 3.75 kB / 4.105 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/11.12, allocations: 0 / 4.105 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/11.13, allocations: 1.39 MB / 4.106 GB, free: 52.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/11.13, allocations: 343.2 kB / 4.106 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/11.13, allocations: 23.97 kB / 4.106 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/11.13, allocations: 113.9 kB / 4.106 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/11.13, allocations: 46.8 kB / 4.106 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/11.13, allocations: 38.23 kB / 4.106 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001251/11.13, allocations: 0.9042 MB / 4.107 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/11.13, allocations: 0 / 4.107 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003616/11.13, allocations: 1.2 MB / 4.108 GB, free: 51.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (70): * Single equations (assignments): 70 * 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.006813/11.14, allocations: 5.294 MB / 4.114 GB, free: 49.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002352/11.14, allocations: 1.594 MB / 4.115 GB, free: 49.28 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/11.14, allocations: 4.781 kB / 4.115 GB, free: 49.28 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004558/11.14, allocations: 357.3 kB / 4.116 GB, free: 49.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/11.15, allocations: 0.9156 MB / 4.116 GB, free: 49.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/11.15, allocations: 2.76 MB / 4.119 GB, free: 48.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/11.15, allocations: 1.402 MB / 4.121 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002457/11.16, allocations: 0.5814 MB / 4.121 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/11.16, allocations: 0.595 MB / 4.122 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/11.16, allocations: 0 / 4.122 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/11.32, allocations: 98.88 MB / 4.218 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/11.33, allocations: 197.1 kB / 4.218 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.541/16.87, allocations: 4.062 kB / 4.218 GB, free: 6.594 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)