Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8646/0.8646, allocations: 143.3 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 187.3 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 223.1 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 96.25 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 274 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 20.66 kB / 0.6929 GB, free: 59.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.534/5.743, allocations: 1.889 GB / 2.663 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003776/5.743, allocations: 95.89 kB / 2.663 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.156/10.9, allocations: 1.307 GB / 3.97 GB, free: 80.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.485e-06/10.9, allocations: 2.078 kB / 3.97 GB, free: 80.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001905/10.9, allocations: 46.42 kB / 3.97 GB, free: 80.59 MB / 0.7448 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.008013/10.91, allocations: 2.365 MB / 3.972 GB, free: 79.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/10.91, allocations: 9.031 kB / 3.972 GB, free: 79.94 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006826/10.91, allocations: 199.1 kB / 3.972 GB, free: 79.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/10.91, allocations: 0.497 MB / 3.973 GB, free: 79.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005864/10.92, allocations: 1.748 MB / 3.975 GB, free: 79.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/10.92, allocations: 103.8 kB / 3.975 GB, free: 79.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004426/10.92, allocations: 139 kB / 3.975 GB, free: 79.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/10.92, allocations: 1.55 MB / 3.976 GB, free: 79.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/10.92, allocations: 0 / 3.976 GB, free: 79.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/10.92, allocations: 57.25 kB / 3.976 GB, free: 79.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.167e-05/10.92, allocations: 43.55 kB / 3.977 GB, free: 79.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/10.93, allocations: 1.264 MB / 3.978 GB, free: 79.23 MB / 0.7448 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.01212/10.94, allocations: 7.196 MB / 3.985 GB, free: 75.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/10.94, allocations: 0.6898 MB / 3.985 GB, free: 75.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/10.94, allocations: 114 kB / 3.986 GB, free: 75.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/10.94, allocations: 43.28 kB / 3.986 GB, free: 75.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001522/10.94, allocations: 169 kB / 3.986 GB, free: 75.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 6.582e-06/10.94, allocations: 0 / 3.986 GB, free: 75.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.002694/10.94, allocations: 1.03 MB / 3.987 GB, free: 75.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/10.94, allocations: 66 kB / 3.987 GB, free: 75.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/10.95, allocations: 1.143 MB / 3.988 GB, free: 74.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/10.95, allocations: 48.3 kB / 3.988 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/10.95, allocations: 0.7812 MB / 3.989 GB, free: 74.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/10.95, allocations: 237.6 kB / 3.989 GB, free: 74.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/10.95, allocations: 19.28 kB / 3.989 GB, free: 74.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/10.95, allocations: 345.5 kB / 3.989 GB, free: 74.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/10.95, allocations: 314.4 kB / 3.99 GB, free: 74.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/10.95, allocations: 0.6506 MB / 3.99 GB, free: 73.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/10.95, allocations: 428.2 kB / 3.991 GB, free: 73.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/10.95, allocations: 2 kB / 3.991 GB, free: 73.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001815/10.95, allocations: 1.073 MB / 3.992 GB, free: 73.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005067/10.95, allocations: 2.514 MB / 3.994 GB, free: 71.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/10.95, allocations: 6.812 kB / 3.994 GB, free: 71.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/10.95, allocations: 14.7 kB / 3.994 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/10.95, allocations: 201.3 kB / 3.994 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/10.95, allocations: 13.19 kB / 3.994 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/10.95, allocations: 122 kB / 3.995 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/10.95, allocations: 40.3 kB / 3.995 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/10.95, allocations: 3.719 kB / 3.995 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/10.96, allocations: 0.9077 MB / 3.995 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/10.96, allocations: 8.469 kB / 3.995 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/10.96, allocations: 9.406 kB / 3.995 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/10.96, allocations: 197.1 kB / 3.996 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/10.96, allocations: 20.83 kB / 3.996 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/10.96, allocations: 125 kB / 3.996 GB, free: 71.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/10.96, allocations: 34.69 kB / 3.996 GB, free: 71.15 MB / 0.7448 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 () * Number of clocked 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.001177/10.96, allocations: 497.3 kB / 3.996 GB, free: 70.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/10.96, allocations: 148.9 kB / 3.996 GB, free: 70.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/10.96, allocations: 0.845 MB / 3.997 GB, free: 70.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/10.96, allocations: 6.875 kB / 3.997 GB, free: 70.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.96, allocations: 3.188 kB / 3.997 GB, free: 70.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008555/10.96, allocations: 0.7944 MB / 3.998 GB, free: 70.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/10.97, allocations: 2.345 MB / 4 GB, free: 70.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/10.97, allocations: 0 / 4 GB, free: 70.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/10.97, allocations: 175 kB / 4.001 GB, free: 70.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/10.97, allocations: 3.625 kB / 4.001 GB, free: 70.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/10.97, allocations: 15.16 kB / 4.001 GB, free: 70.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/10.97, allocations: 6.672 kB / 4.001 GB, free: 70.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/10.97, allocations: 3.312 kB / 4.001 GB, free: 70.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/10.97, allocations: 1.426 MB / 4.002 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/10.97, allocations: 329.9 kB / 4.002 GB, free: 69.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/10.97, allocations: 14.12 kB / 4.002 GB, free: 69.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/10.97, allocations: 108 kB / 4.002 GB, free: 69.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/10.97, allocations: 50.41 kB / 4.002 GB, free: 69.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/10.97, allocations: 35.78 kB / 4.002 GB, free: 69.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001429/10.97, allocations: 0.8879 MB / 4.003 GB, free: 69.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/10.97, allocations: 0 / 4.003 GB, free: 69.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004119/10.98, allocations: 1.161 MB / 4.004 GB, free: 69.42 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked 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.007114/10.99, allocations: 5.464 MB / 4.01 GB, free: 66.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002217/10.99, allocations: 1.248 MB / 4.011 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/10.99, allocations: 3.844 kB / 4.011 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004678/10.99, allocations: 353 kB / 4.011 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/10.99, allocations: 0.8876 MB / 4.012 GB, free: 66.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/11.01, allocations: 13.07 MB / 4.025 GB, free: 59.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/11.01, allocations: 1.382 MB / 4.026 GB, free: 58.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00228/11.01, allocations: 421.9 kB / 4.027 GB, free: 58.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/11.01, allocations: 0.606 MB / 4.027 GB, free: 58.77 MB / 0.7448 GB Notification: Performance of SimCode: time 9.868e-06/11.01, allocations: 0 / 4.027 GB, free: 58.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/11.16, allocations: 86.59 MB / 4.112 GB, free: 55.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/11.16, allocations: 230 kB / 4.112 GB, free: 55.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.215/16.37, allocations: 0 / 4.112 GB, free: 55.51 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)