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.001087/0.001087, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5307/0.5307, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008845, allocations: 87.2 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.825e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.161, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.074/5.235, allocations: 1.881 GB / 2.435 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/5.236, allocations: 90.77 kB / 2.435 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.219/10.46, allocations: 1.297 GB / 3.732 GB, free: 72.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.595e-06/10.46, allocations: 0 / 3.732 GB, free: 72.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001434/10.46, allocations: 48.84 kB / 3.732 GB, free: 72.95 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.004477/10.46, allocations: 2.087 MB / 3.734 GB, free: 72.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/10.46, allocations: 13.62 kB / 3.734 GB, free: 72.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/10.46, allocations: 0.491 MB / 3.735 GB, free: 72.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/10.47, allocations: 1.735 MB / 3.737 GB, free: 71.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/10.47, allocations: 46.55 kB / 3.737 GB, free: 71.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/10.47, allocations: 82.28 kB / 3.737 GB, free: 71.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001931/10.47, allocations: 1.156 MB / 3.738 GB, free: 71.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/10.47, allocations: 1.272 MB / 3.739 GB, free: 71.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/10.47, allocations: 3.5 kB / 3.739 GB, free: 71.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/10.47, allocations: 7 kB / 3.739 GB, free: 71.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/10.47, allocations: 50.27 kB / 3.739 GB, free: 71.57 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.007312/10.48, allocations: 6.939 MB / 3.746 GB, free: 67.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/10.48, allocations: 0.6362 MB / 3.746 GB, free: 67.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/10.48, allocations: 360.8 kB / 3.747 GB, free: 67.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/10.48, allocations: 104.2 kB / 3.747 GB, free: 67.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/10.48, allocations: 47.22 kB / 3.747 GB, free: 67.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009083/10.48, allocations: 132 kB / 3.747 GB, free: 67.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.297e-06/10.48, allocations: 0 / 3.747 GB, free: 67.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.001256/10.48, allocations: 0.7359 MB / 3.748 GB, free: 67.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/10.48, allocations: 58.09 kB / 3.748 GB, free: 67.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/10.48, allocations: 0.9137 MB / 3.749 GB, free: 67.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/10.48, allocations: 29.61 kB / 3.749 GB, free: 67.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/10.48, allocations: 0.786 MB / 3.75 GB, free: 67.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/10.49, allocations: 232.1 kB / 3.75 GB, free: 66.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/10.49, allocations: 0 / 3.75 GB, free: 66.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/10.49, allocations: 340.4 kB / 3.75 GB, free: 66.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/10.49, allocations: 300.4 kB / 3.75 GB, free: 66.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/10.49, allocations: 0.6191 MB / 3.751 GB, free: 66.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/10.49, allocations: 409.9 kB / 3.751 GB, free: 66.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/10.49, allocations: 0 / 3.751 GB, free: 66.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001234/10.49, allocations: 0.967 MB / 3.752 GB, free: 66.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003948/10.49, allocations: 2.481 MB / 3.755 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/10.49, allocations: 7.719 kB / 3.755 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/10.49, allocations: 14.66 kB / 3.755 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/10.49, allocations: 194.8 kB / 3.755 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/10.49, allocations: 15.62 kB / 3.755 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/10.49, allocations: 108.5 kB / 3.755 GB, free: 63.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/10.49, allocations: 45.17 kB / 3.755 GB, free: 63.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/10.49, allocations: 3.625 kB / 3.755 GB, free: 63.55 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/10.49, allocations: 0.7937 MB / 3.756 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/10.49, allocations: 9.578 kB / 3.756 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/10.49, allocations: 12.94 kB / 3.756 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/10.49, allocations: 198 kB / 3.756 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/10.49, allocations: 14.47 kB / 3.756 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/10.49, allocations: 103.8 kB / 3.756 GB, free: 63.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/10.49, allocations: 36.8 kB / 3.756 GB, free: 63.52 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.0001965/10.49, allocations: 133.2 kB / 3.756 GB, free: 63.41 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008991/10.49, allocations: 0.6992 MB / 3.757 GB, free: 63.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/10.5, allocations: 131.5 kB / 3.757 GB, free: 63.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/10.5, allocations: 0.7712 MB / 3.758 GB, free: 63.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/10.5, allocations: 8.844 kB / 3.758 GB, free: 63.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/10.5, allocations: 2.094 kB / 3.758 GB, free: 63.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007302/10.5, allocations: 0.7604 MB / 3.759 GB, free: 62.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/10.5, allocations: 2.143 MB / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/10.5, allocations: 0 / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/10.5, allocations: 168.9 kB / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/10.5, allocations: 3.906 kB / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/10.5, allocations: 6.875 kB / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/10.5, allocations: 9.562 kB / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/10.5, allocations: 1.406 kB / 3.761 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/10.5, allocations: 1.298 MB / 3.762 GB, free: 62.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/10.5, allocations: 306.5 kB / 3.763 GB, free: 61.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/10.5, allocations: 5.906 kB / 3.763 GB, free: 61.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/10.5, allocations: 86.69 kB / 3.763 GB, free: 61.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/10.5, allocations: 47.59 kB / 3.763 GB, free: 61.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/10.5, allocations: 37.45 kB / 3.763 GB, free: 61.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008148/10.51, allocations: 0.6833 MB / 3.763 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/10.51, allocations: 0 / 3.763 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002622/10.51, allocations: 1.049 MB / 3.764 GB, free: 61.7 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.005894/10.51, allocations: 5.643 MB / 3.77 GB, free: 59.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002094/10.52, allocations: 1.218 MB / 3.771 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/10.52, allocations: 0 / 3.771 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/10.52, allocations: 334.4 kB / 3.771 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/10.52, allocations: 0.7514 MB / 3.772 GB, free: 59.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/10.53, allocations: 2.627 MB / 3.775 GB, free: 58.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/10.53, allocations: 1.382 MB / 3.776 GB, free: 57.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00224/10.53, allocations: 0.4909 MB / 3.777 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/10.53, allocations: 0.5752 MB / 3.777 GB, free: 57.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/10.53, allocations: 1.719 kB / 3.777 GB, free: 57.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09803/10.63, allocations: 61.13 MB / 3.837 GB, free: 54.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/10.63, allocations: 174 kB / 3.837 GB, free: 54.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/14.52, allocations: 4 kB / 3.837 GB, free: 54.31 MB / 0.6511 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)