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.7397/0.7397, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001397, allocations: 168.9 kB / 164.6 MB, free: 6.531 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.829/1.829, allocations: 205.2 MB / 399.5 MB, free: 5.918 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.001026/0.001026, allocations: 86.42 kB / 476.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.822e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1793, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.686/5.866, allocations: 2.158 GB / 2.78 GB, free: 73.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/5.866, allocations: 99.17 kB / 2.78 GB, free: 73.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.201/11.07, allocations: 1.272 GB / 4.052 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/11.07, allocations: 0 / 4.052 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001476/11.07, allocations: 50.44 kB / 4.052 GB, free: 63.45 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.005707/11.07, allocations: 2.178 MB / 4.054 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/11.07, allocations: 10.41 kB / 4.054 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/11.08, allocations: 499.8 kB / 4.055 GB, free: 61.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/11.08, allocations: 1.559 MB / 4.056 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/11.08, allocations: 43.16 kB / 4.056 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/11.08, allocations: 89.98 kB / 4.057 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002035/11.08, allocations: 1.224 MB / 4.058 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/11.09, allocations: 1.352 MB / 4.059 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/11.09, allocations: 0 / 4.059 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/11.09, allocations: 4 kB / 4.059 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/11.09, allocations: 50.62 kB / 4.059 GB, free: 57.77 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.008599/11.09, allocations: 7.099 MB / 4.066 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/11.1, allocations: 0.712 MB / 4.067 GB, free: 49.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/11.1, allocations: 355.6 kB / 4.067 GB, free: 49.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/11.1, allocations: 23.53 kB / 4.067 GB, free: 49.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/11.1, allocations: 43.12 kB / 4.067 GB, free: 49.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001076/11.1, allocations: 142.1 kB / 4.067 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 4.348e-06/11.1, allocations: 3.938 kB / 4.067 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.00175/11.1, allocations: 0.7903 MB / 4.068 GB, free: 48.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/11.1, allocations: 63.95 kB / 4.068 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/11.1, allocations: 0.9176 MB / 4.069 GB, free: 47.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/11.1, allocations: 29.7 kB / 4.069 GB, free: 47.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/11.1, allocations: 0.8187 MB / 4.07 GB, free: 46.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/11.1, allocations: 228.6 kB / 4.07 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/11.1, allocations: 7.938 kB / 4.07 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/11.1, allocations: 341.9 kB / 4.07 GB, free: 45.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/11.1, allocations: 330.5 kB / 4.071 GB, free: 45.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/11.1, allocations: 0.6211 MB / 4.071 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/11.1, allocations: 448.2 kB / 4.072 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/11.1, allocations: 0 / 4.072 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001564/11.1, allocations: 1.068 MB / 4.073 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009056/11.11, allocations: 2.885 MB / 4.076 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/11.11, allocations: 11.98 kB / 4.076 GB, free: 39.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/11.11, allocations: 15.94 kB / 4.076 GB, free: 39.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/11.11, allocations: 231.6 kB / 4.076 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/11.11, allocations: 15.95 kB / 4.076 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/11.11, allocations: 115.6 kB / 4.076 GB, free: 39.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/11.11, allocations: 47.98 kB / 4.076 GB, free: 39.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/11.11, allocations: 0 / 4.076 GB, free: 39.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001284/11.11, allocations: 0.8884 MB / 4.077 GB, free: 38.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/11.11, allocations: 8.938 kB / 4.077 GB, free: 38.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/11.11, allocations: 12 kB / 4.077 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/11.11, allocations: 207.7 kB / 4.077 GB, free: 38.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/11.11, allocations: 19.92 kB / 4.077 GB, free: 38.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/11.11, allocations: 91.7 kB / 4.077 GB, free: 38.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/11.11, allocations: 43.98 kB / 4.077 GB, free: 38.3 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.0002823/11.11, allocations: 132.7 kB / 4.077 GB, free: 38.17 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001043/11.11, allocations: 0.7199 MB / 4.078 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/11.11, allocations: 134.4 kB / 4.078 GB, free: 37.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/11.11, allocations: 0.7816 MB / 4.079 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/11.11, allocations: 8 kB / 4.079 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/11.11, allocations: 0 / 4.079 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008428/11.12, allocations: 0.7684 MB / 4.08 GB, free: 35.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/11.12, allocations: 1.976 MB / 4.082 GB, free: 33.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/11.12, allocations: 4.031 kB / 4.082 GB, free: 33.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/11.12, allocations: 187.8 kB / 4.082 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/11.12, allocations: 4 kB / 4.082 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/11.12, allocations: 4 kB / 4.082 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/11.12, allocations: 8 kB / 4.082 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/11.12, allocations: 3.984 kB / 4.082 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/11.12, allocations: 1.321 MB / 4.083 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006217/11.12, allocations: 327.3 kB / 4.084 GB, free: 31.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/11.12, allocations: 15.94 kB / 4.084 GB, free: 31.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/11.12, allocations: 95.8 kB / 4.084 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/11.12, allocations: 36.52 kB / 4.084 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/11.12, allocations: 43.95 kB / 4.084 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008564/11.12, allocations: 0.6854 MB / 4.084 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/11.12, allocations: 0 / 4.084 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003036/11.13, allocations: 1.105 MB / 4.085 GB, free: 29.77 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.006416/11.13, allocations: 5.543 MB / 4.091 GB, free: 24.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002177/11.14, allocations: 1.509 MB / 4.092 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/11.14, allocations: 8.25 kB / 4.092 GB, free: 22.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/11.14, allocations: 345.9 kB / 4.093 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/11.14, allocations: 0.7424 MB / 4.093 GB, free: 21.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/11.15, allocations: 2.669 MB / 4.096 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/11.15, allocations: 1.398 MB / 4.097 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002223/11.15, allocations: 0.5074 MB / 4.098 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/11.15, allocations: 0.5891 MB / 4.098 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/11.15, allocations: 0 / 4.098 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.667/11.82, allocations: 63.34 MB / 4.16 GB, free: 83.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/11.82, allocations: 185 kB / 4.16 GB, free: 83.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/15.97, allocations: 0 / 4.16 GB, free: 83.1 MB / 0.698 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)