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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5255/0.5255, allocations: 90.8 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 348.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 87.95 kB / 421.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.776e-05, allocations: 4 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1583, allocations: 72.3 MB / 0.5603 GB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.118/4.276, allocations: 1.882 GB / 2.442 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/4.276, allocations: 95.89 kB / 2.442 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.252/9.529, allocations: 1.311 GB / 3.753 GB, free: 65.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.677e-06/9.529, allocations: 0 / 3.753 GB, free: 65.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002589/9.529, allocations: 50.98 kB / 3.753 GB, free: 65.92 MB / 0.6511 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.007127/9.536, allocations: 2.097 MB / 3.755 GB, free: 64.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/9.536, allocations: 10.39 kB / 3.755 GB, free: 64.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008456/9.537, allocations: 187.6 kB / 3.756 GB, free: 64.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/9.542, allocations: 0.4941 MB / 3.756 GB, free: 64.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005177/9.547, allocations: 1.745 MB / 3.758 GB, free: 64.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/9.547, allocations: 100.4 kB / 3.758 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/9.548, allocations: 138.2 kB / 3.758 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/9.551, allocations: 1.527 MB / 3.759 GB, free: 64.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/9.551, allocations: 2.438 kB / 3.759 GB, free: 64.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/9.551, allocations: 59.34 kB / 3.759 GB, free: 64.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/9.552, allocations: 45.69 kB / 3.76 GB, free: 64.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/9.554, allocations: 1.234 MB / 3.761 GB, free: 64.26 MB / 0.6511 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.009712/9.564, allocations: 7.22 MB / 3.768 GB, free: 60.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/9.565, allocations: 0.6552 MB / 3.768 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/9.565, allocations: 378.3 kB / 3.769 GB, free: 60.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/9.566, allocations: 111.5 kB / 3.769 GB, free: 60.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/9.566, allocations: 45.75 kB / 3.769 GB, free: 60.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/9.567, allocations: 166.4 kB / 3.769 GB, free: 60.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 5.881e-06/9.567, allocations: 5.469 kB / 3.769 GB, free: 60.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.001684/9.569, allocations: 0.7689 MB / 3.77 GB, free: 60.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/9.569, allocations: 58.16 kB / 3.77 GB, free: 60.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/9.57, allocations: 1.149 MB / 3.771 GB, free: 59.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/9.571, allocations: 46.8 kB / 3.771 GB, free: 59.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/9.571, allocations: 0.7787 MB / 3.772 GB, free: 59.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/9.571, allocations: 246.7 kB / 3.772 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/9.571, allocations: 17 kB / 3.772 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/9.571, allocations: 339.9 kB / 3.772 GB, free: 59.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/9.572, allocations: 312.8 kB / 3.773 GB, free: 59.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/9.573, allocations: 0.6359 MB / 3.773 GB, free: 58.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/9.573, allocations: 433.1 kB / 3.774 GB, free: 58.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/9.573, allocations: 0 / 3.774 GB, free: 58.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001687/9.575, allocations: 1.058 MB / 3.775 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005856/9.576, allocations: 2.506 MB / 3.777 GB, free: 56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/9.576, allocations: 7.375 kB / 3.777 GB, free: 56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/9.576, allocations: 11.19 kB / 3.777 GB, free: 56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/9.577, allocations: 201.5 kB / 3.777 GB, free: 55.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/9.577, allocations: 17.56 kB / 3.777 GB, free: 55.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/9.578, allocations: 125.9 kB / 3.778 GB, free: 55.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/9.578, allocations: 35.56 kB / 3.778 GB, free: 55.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/9.578, allocations: 8.344 kB / 3.778 GB, free: 55.98 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/9.58, allocations: 0.8959 MB / 3.778 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/9.58, allocations: 3.938 kB / 3.778 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/9.58, allocations: 19.78 kB / 3.778 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/9.581, allocations: 196.4 kB / 3.779 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/9.581, allocations: 10.53 kB / 3.779 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/9.582, allocations: 130.5 kB / 3.779 GB, free: 55.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/9.582, allocations: 45.91 kB / 3.779 GB, free: 55.94 MB / 0.6511 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.000259/9.583, allocations: 162.2 kB / 3.779 GB, free: 55.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/9.583, allocations: 151.6 kB / 3.779 GB, free: 55.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/9.585, allocations: 0.8402 MB / 3.78 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/9.585, allocations: 8.719 kB / 3.78 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/9.585, allocations: 0 / 3.78 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009674/9.586, allocations: 0.7974 MB / 3.781 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/9.59, allocations: 2.354 MB / 3.783 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/9.59, allocations: 0 / 3.783 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/9.591, allocations: 165 kB / 3.783 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/9.591, allocations: 7.828 kB / 3.783 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/9.591, allocations: 16.38 kB / 3.783 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/9.591, allocations: 12.88 kB / 3.783 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/9.591, allocations: 0 / 3.783 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/9.593, allocations: 1.367 MB / 3.785 GB, free: 54.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/9.594, allocations: 323.3 kB / 3.785 GB, free: 54.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/9.594, allocations: 17.36 kB / 3.785 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/9.595, allocations: 102.2 kB / 3.785 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/9.595, allocations: 50.67 kB / 3.785 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/9.595, allocations: 28.14 kB / 3.785 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001406/9.597, allocations: 0.8771 MB / 3.786 GB, free: 54.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/9.597, allocations: 5.938 kB / 3.786 GB, free: 54.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00401/9.601, allocations: 1.166 MB / 3.787 GB, free: 54.19 MB / 0.6511 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 () * 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.007057/9.608, allocations: 5.37 MB / 3.792 GB, free: 51.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00251/9.611, allocations: 1.284 MB / 3.794 GB, free: 51.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/9.611, allocations: 0.8125 kB / 3.794 GB, free: 51.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/9.611, allocations: 348.8 kB / 3.794 GB, free: 51.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005183/9.616, allocations: 0.8901 MB / 3.795 GB, free: 51.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/9.624, allocations: 2.73 MB / 3.797 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/9.625, allocations: 1.387 MB / 3.799 GB, free: 50.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00301/9.628, allocations: 0.5597 MB / 3.799 GB, free: 50.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/9.629, allocations: 0.5882 MB / 3.8 GB, free: 50.09 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/9.629, allocations: 0 / 3.8 GB, free: 50.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/9.78, allocations: 95.76 MB / 3.893 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/9.78, allocations: 200.1 kB / 3.894 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.273/15.05, allocations: 2.531 kB / 3.894 GB, free: 11.48 MB / 0.6667 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/linux/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)