Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7363/0.7363, allocations: 128.7 MB / 144.5 MB, free: 1.371 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.001124/0.001124, allocations: 182.9 kB / 174.2 MB, free: 5.938 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.474/1.474, allocations: 205 MB / 408.9 MB, free: 9.711 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.0009647/0.0009647, allocations: 101.7 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 59.67 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1236, allocations: 75.47 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0352/0.1589, allocations: 48.93 MB / 0.6795 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.1726, allocations: 10.31 MB / 0.6895 GB, free: 5.648 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.1746, allocations: 55.69 kB / 0.6896 GB, free: 5.594 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.1765, allocations: 0.5244 MB / 0.6901 GB, free: 5.066 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.1813, allocations: 1.733 MB / 0.6918 GB, free: 3.328 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.1839, allocations: 0.9615 MB / 0.6927 GB, free: 2.375 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.1893, allocations: 4.655 MB / 0.6973 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.1907, allocations: 0.8752 MB / 0.6981 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.1928, allocations: 1.054 MB / 0.6991 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.1939, allocations: 0.8943 MB / 0.7 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.194, allocations: 48 kB / 0.7001 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.1957, allocations: 0.7599 MB / 0.7008 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.1959, allocations: 215.1 kB / 0.701 GB, free: 9.832 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.1966, allocations: 0.5635 MB / 0.7016 GB, free: 9.266 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.1988, allocations: 1.924 MB / 0.7034 GB, free: 7.336 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1988, allocations: 0 / 0.7034 GB, free: 7.336 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1988, allocations: 0 / 0.7034 GB, free: 7.336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1988, allocations: 4 kB / 0.7034 GB, free: 7.332 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002359/0.2012, allocations: 1.495 MB / 0.7049 GB, free: 5.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2012, allocations: 11.97 kB / 0.7049 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.2015, allocations: 139.4 kB / 0.7051 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.2031, allocations: 1.053 MB / 0.7061 GB, free: 4.539 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.2032, allocations: 54 kB / 0.7061 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.2033, allocations: 72 kB / 0.7062 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2045, allocations: 0.7749 MB / 0.707 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.2046, allocations: 7.984 kB / 0.707 GB, free: 3.598 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.2046, allocations: 27.94 kB / 0.707 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.2047, allocations: 20 kB / 0.707 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2057, allocations: 0.5672 MB / 0.7076 GB, free: 2.984 MB / 490.7 MB 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.00383/0.2096, allocations: 3.505 MB / 0.711 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.2101, allocations: 240.1 kB / 0.7112 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.2104, allocations: 150.6 kB / 0.7114 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/0.211, allocations: 0.6612 MB / 0.712 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.211, allocations: 46.72 kB / 0.712 GB, free: 14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.845e-06/0.211, allocations: 0 / 0.712 GB, free: 14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.001113/0.2121, allocations: 477.7 kB / 0.7125 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2122, allocations: 51.41 kB / 0.7126 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2133, allocations: 0.9451 MB / 0.7135 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2134, allocations: 29.7 kB / 0.7135 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.2137, allocations: 0.4995 MB / 0.714 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.2138, allocations: 98.64 kB / 0.7141 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.214, allocations: 114 kB / 0.7142 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2141, allocations: 333.9 kB / 0.7145 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.2144, allocations: 153 kB / 0.7147 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.2149, allocations: 346.9 kB / 0.715 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007664/0.2157, allocations: 0.5028 MB / 0.7155 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2157, allocations: 0 / 0.7155 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001006/0.2167, allocations: 0.6016 MB / 0.7161 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2167, allocations: 12.09 kB / 0.7161 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2168, allocations: 4 kB / 0.7161 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2168, allocations: 8 kB / 0.7161 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.2172, allocations: 119.8 kB / 0.7162 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.2172, allocations: 19.86 kB / 0.7162 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.2178, allocations: 111.1 kB / 0.7163 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.2179, allocations: 27.98 kB / 0.7164 GB, free: 9.363 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.2182, allocations: 273.6 kB / 0.7166 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2183, allocations: 94.88 kB / 0.7167 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000878/0.2192, allocations: 456.8 kB / 0.7171 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.2192, allocations: 4 kB / 0.7171 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2192, allocations: 4 kB / 0.7172 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006708/0.2199, allocations: 428.2 kB / 0.7176 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.2217, allocations: 1.245 MB / 0.7188 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2217, allocations: 4.031 kB / 0.7188 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.222, allocations: 63.95 kB / 0.7188 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.222, allocations: 3.938 kB / 0.7188 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.2221, allocations: 8 kB / 0.7189 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2221, allocations: 3.938 kB / 0.7189 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2221, allocations: 7.938 kB / 0.7189 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.2271, allocations: 3.505 MB / 0.7223 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.2273, allocations: 219.8 kB / 0.7225 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.2274, allocations: 4 kB / 0.7225 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.2279, allocations: 47.95 kB / 0.7225 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.228, allocations: 23.91 kB / 0.7226 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.228, allocations: 11.98 kB / 0.7226 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007969/0.2288, allocations: 0.6471 MB / 0.7232 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2288, allocations: 0 / 0.7232 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001208/0.2301, allocations: 459.5 kB / 0.7237 GB, free: 1.621 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006616/0.2307, allocations: 380.6 kB / 0.724 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.2316, allocations: 400.3 kB / 0.7244 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2316, allocations: 0 / 0.7244 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.2319, allocations: 164.3 kB / 0.7246 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.2346, allocations: 0.5927 MB / 0.7251 GB, free: 120 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.2371, allocations: 2.126 MB / 0.7272 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.2376, allocations: 1.04 MB / 0.7282 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.2382, allocations: 186.5 kB / 0.7284 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2384, allocations: 87.41 kB / 0.7285 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.2384, allocations: 0 / 0.7285 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.2784/0.5168, allocations: 20.73 MB / 0.7487 GB, free: 100.1 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)