Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 118.5 kB / 17.08 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 198.9 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7409/0.7409, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 70.08 kB / 0.5583 GB, free: 32.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0383/0.1807, allocations: 41.56 MB / 0.6733 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.1948, allocations: 10.39 MB / 0.6835 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.1972, allocations: 67.62 kB / 0.6835 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.1994, allocations: 0.6405 MB / 0.6842 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.2049, allocations: 1.874 MB / 0.686 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.208, allocations: 1.183 MB / 0.6871 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004783/0.2128, allocations: 3.399 MB / 0.6905 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.2144, allocations: 1.071 MB / 0.6915 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.2176, allocations: 1.262 MB / 0.6927 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.2192, allocations: 0.8944 MB / 0.6936 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.2194, allocations: 100 kB / 0.6937 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.2215, allocations: 0.8578 MB / 0.6945 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.2218, allocations: 275 kB / 0.6948 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.2225, allocations: 0.6376 MB / 0.6954 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.2253, allocations: 1.924 MB / 0.6973 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2253, allocations: 0 / 0.6973 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2253, allocations: 0 / 0.6973 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.2254, allocations: 0 / 0.6973 GB, free: 2.027 MB / 0.5294 GB 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.002412/0.2278, allocations: 1.507 MB / 0.6988 GB, free: 476 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2278, allocations: 19.91 kB / 0.6988 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.2282, allocations: 131.4 kB / 0.6989 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.2299, allocations: 1.103 MB / 0.7 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.2299, allocations: 54 kB / 0.7001 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2301, allocations: 75.91 kB / 0.7001 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2314, allocations: 0.7905 MB / 0.7009 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2314, allocations: 0 / 0.7009 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.2315, allocations: 35.98 kB / 0.7009 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.2315, allocations: 27.94 kB / 0.701 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2326, allocations: 0.5672 MB / 0.7015 GB, free: 13.59 MB / 0.545 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.003931/0.2366, allocations: 3.544 MB / 0.705 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.2372, allocations: 262.4 kB / 0.7052 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.2375, allocations: 176.8 kB / 0.7054 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.238, allocations: 0.6532 MB / 0.706 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2381, allocations: 42.56 kB / 0.7061 GB, free: 8.523 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 4.288e-06/0.2381, allocations: 0 / 0.7061 GB, free: 8.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001199/0.2393, allocations: 0.5132 MB / 0.7066 GB, free: 8.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2393, allocations: 55.41 kB / 0.7066 GB, free: 7.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.2404, allocations: 0.9495 MB / 0.7076 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.2405, allocations: 33.7 kB / 0.7076 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.2409, allocations: 499.6 kB / 0.7081 GB, free: 6.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.241, allocations: 118.4 kB / 0.7082 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.2412, allocations: 118.1 kB / 0.7083 GB, free: 6.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2413, allocations: 329.9 kB / 0.7086 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.2417, allocations: 169 kB / 0.7088 GB, free: 5.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.2421, allocations: 346.9 kB / 0.7091 GB, free: 5.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.243, allocations: 0.511 MB / 0.7096 GB, free: 4.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.243, allocations: 0 / 0.7096 GB, free: 4.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001108/0.2441, allocations: 0.6176 MB / 0.7102 GB, free: 4.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2441, allocations: 4 kB / 0.7102 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.2441, allocations: 8 kB / 0.7102 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.2442, allocations: 11.98 kB / 0.7102 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.2446, allocations: 123.9 kB / 0.7103 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.2446, allocations: 11.98 kB / 0.7103 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.2453, allocations: 83.19 kB / 0.7104 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.2453, allocations: 32.02 kB / 0.7105 GB, free: 3.812 MB / 0.545 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 (65): * Single equations (assignments): 65 * 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.0003806/0.2457, allocations: 277.6 kB / 0.7107 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.2459, allocations: 102.8 kB / 0.7108 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000953/0.2468, allocations: 484.4 kB / 0.7113 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2468, allocations: 7.938 kB / 0.7113 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2469, allocations: 4 kB / 0.7113 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000706/0.2476, allocations: 460.9 kB / 0.7117 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.2496, allocations: 1.359 MB / 0.7131 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2496, allocations: 0 / 0.7131 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.2499, allocations: 75.89 kB / 0.7131 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-05/0.25, allocations: 7.938 kB / 0.7131 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.25, allocations: 8 kB / 0.7131 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.25, allocations: 8.156 kB / 0.7132 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.25, allocations: 3.938 kB / 0.7132 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.2513, allocations: 0.7594 MB / 0.7139 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.2517, allocations: 235.8 kB / 0.7141 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.2518, allocations: 8 kB / 0.7141 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.2523, allocations: 23.97 kB / 0.7142 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.2524, allocations: 31.97 kB / 0.7142 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.2524, allocations: 19.98 kB / 0.7142 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008774/0.2533, allocations: 0.6666 MB / 0.7149 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2533, allocations: 0 / 0.7149 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009427/0.2543, allocations: 335.5 kB / 0.7152 GB, free: 14.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (34): * Single equations (assignments): 31 * 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.0007404/0.255, allocations: 390.5 kB / 0.7155 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008863/0.2559, allocations: 429 kB / 0.716 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2559, allocations: 4.438 kB / 0.716 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.2563, allocations: 187.8 kB / 0.7161 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.2589, allocations: 0.6201 MB / 0.7167 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.2614, allocations: 1.619 MB / 0.7183 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.2621, allocations: 1.032 MB / 0.7193 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.2623, allocations: 87.34 kB / 0.7194 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.2623, allocations: 0 / 0.7194 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.02678/0.2891, allocations: 18.08 MB / 0.7371 GB, free: 8.43 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)