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.7287/0.7287, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 188.7 kB / 169.7 MB, free: 1.73 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.806/1.806, allocations: 205.1 MB / 404.5 MB, free: 1.668 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.001041/0.001041, allocations: 79.8 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.098e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.422/1.599, allocations: 368.1 MB / 0.9876 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.599, allocations: 91.89 kB / 0.9877 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.316/2.915, allocations: 419.9 MB / 1.398 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/2.915, allocations: 0 / 1.398 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001028/2.915, allocations: 35.86 kB / 1.398 GB, free: 7.828 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002168/2.917, allocations: 1.247 MB / 1.399 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.917, allocations: 8.031 kB / 1.399 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/2.918, allocations: 130.5 kB / 1.399 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5868/3.505, allocations: 22.48 MB / 1.421 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/3.505, allocations: 56.88 kB / 1.421 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/3.505, allocations: 72.16 kB / 1.421 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/3.506, allocations: 0.7129 MB / 1.422 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/3.506, allocations: 2.203 kB / 1.422 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/3.506, allocations: 30.55 kB / 1.422 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/3.506, allocations: 20.08 kB / 1.422 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/3.507, allocations: 486.3 kB / 1.422 GB, free: 113.3 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.004685/3.512, allocations: 3.633 MB / 1.426 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/3.513, allocations: 316.7 kB / 1.426 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/3.513, allocations: 123.6 kB / 1.426 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/3.513, allocations: 0.659 MB / 1.427 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/3.514, allocations: 38.31 kB / 1.427 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 4.037e-06/3.514, allocations: 3.875 kB / 1.427 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0007047/3.514, allocations: 308.7 kB / 1.427 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/3.514, allocations: 56.84 kB / 1.427 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/3.515, allocations: 0.7867 MB / 1.428 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/3.515, allocations: 34.58 kB / 1.428 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/3.516, allocations: 0.5157 MB / 1.429 GB, free: 110 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/3.516, allocations: 91.78 kB / 1.429 GB, free: 110 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/3.516, allocations: 9.812 kB / 1.429 GB, free: 110 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/3.516, allocations: 326.6 kB / 1.429 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/3.516, allocations: 101.1 kB / 1.429 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/3.517, allocations: 334.5 kB / 1.43 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/3.517, allocations: 172.2 kB / 1.43 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/3.517, allocations: 2.375 kB / 1.43 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008494/3.518, allocations: 0.4887 MB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/3.518, allocations: 7.125 kB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/3.518, allocations: 5.625 kB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/3.518, allocations: 9.312 kB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/3.518, allocations: 126.7 kB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/3.518, allocations: 11.19 kB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/3.519, allocations: 119.6 kB / 1.43 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/3.519, allocations: 30.14 kB / 1.431 GB, free: 109.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.000111/3.519, allocations: 137.9 kB / 1.431 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/3.52, allocations: 101.5 kB / 1.431 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/3.52, allocations: 382.1 kB / 1.431 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/3.52, allocations: 3.188 kB / 1.431 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/3.52, allocations: 0 / 1.431 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003792/3.521, allocations: 315.7 kB / 1.431 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/3.522, allocations: 1.121 MB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/3.522, allocations: 2.125 kB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/3.523, allocations: 58.53 kB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/3.523, allocations: 2.375 kB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/3.523, allocations: 6.688 kB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/3.523, allocations: 3.531 kB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/3.523, allocations: 2.219 kB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/3.523, allocations: 0.5969 MB / 1.433 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/3.524, allocations: 224.6 kB / 1.433 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/3.524, allocations: 6.031 kB / 1.433 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/3.524, allocations: 54.66 kB / 1.433 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/3.524, allocations: 22.42 kB / 1.433 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/3.524, allocations: 12.64 kB / 1.433 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009424/3.525, allocations: 0.6493 MB / 1.434 GB, free: 108 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.6e-07/3.525, allocations: 1.844 kB / 1.434 GB, free: 108 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001358/3.527, allocations: 355.2 kB / 1.434 GB, free: 108 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001162/3.528, allocations: 0.5644 MB / 1.435 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005796/3.528, allocations: 285.9 kB / 1.435 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/3.528, allocations: 6.656 kB / 1.435 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/3.529, allocations: 108 kB / 1.435 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/3.531, allocations: 0.5815 MB / 1.436 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/3.533, allocations: 1.128 MB / 1.437 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/3.534, allocations: 1.054 MB / 1.438 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007758/3.535, allocations: 188.3 kB / 1.438 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/3.535, allocations: 71.84 kB / 1.438 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of SimCode: time 7.02e-07/3.535, allocations: 3.25 kB / 1.438 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.03886/3.574, allocations: 21.86 MB / 1.46 GB, free: 106.1 MB / 0.6511 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)