Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7154/0.7154, allocations: 127.4 MB / 134.9 MB, free: 3.746 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.001039/0.001039, allocations: 179.1 kB / 164.7 MB, free: 6.551 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.576/1.576, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.0008691/0.0008692, allocations: 85.48 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.972e-05, allocations: 4 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 76.74 MB / 0.6215 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.977/5.119, allocations: 2.172 GB / 2.793 GB, free: 79.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/5.12, allocations: 91.94 kB / 2.793 GB, free: 79.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 10.76/15.88, allocations: 2.757 GB / 5.551 GB, free: 52.99 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.904e-06/15.88, allocations: 5.312 kB / 5.551 GB, free: 52.99 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000452/15.88, allocations: 73.97 kB / 5.551 GB, free: 52.99 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.0156/15.89, allocations: 3.672 MB / 5.554 GB, free: 51.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/15.89, allocations: 11.88 kB / 5.554 GB, free: 51.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/15.9, allocations: 1.188 MB / 5.555 GB, free: 51.35 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008172/15.91, allocations: 2.279 MB / 5.558 GB, free: 50.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/15.91, allocations: 357.7 kB / 5.558 GB, free: 50.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/15.91, allocations: 145 kB / 5.558 GB, free: 50.97 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007078/15.92, allocations: 2.571 MB / 5.561 GB, free: 50.95 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007109/15.93, allocations: 2.512 MB / 5.563 GB, free: 50.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.33e-05/15.93, allocations: 5.219 kB / 5.563 GB, free: 50.55 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005933/15.93, allocations: 4.75 kB / 5.563 GB, free: 50.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/15.93, allocations: 95.2 kB / 5.563 GB, free: 50.54 MB / 0.7605 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.02304/15.95, allocations: 14.01 MB / 5.577 GB, free: 43.02 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/15.96, allocations: 1.336 MB / 5.578 GB, free: 42.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/15.96, allocations: 0.6122 MB / 5.579 GB, free: 42.98 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/15.96, allocations: 140 kB / 5.579 GB, free: 42.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/15.96, allocations: 52.69 kB / 5.579 GB, free: 42.84 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001754/15.96, allocations: 173 kB / 5.579 GB, free: 42.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 5.621e-06/15.96, allocations: 0 / 5.579 GB, free: 42.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.003734/15.96, allocations: 1.687 MB / 5.581 GB, free: 42.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/15.96, allocations: 66.06 kB / 5.581 GB, free: 42.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/15.96, allocations: 1.595 MB / 5.582 GB, free: 42.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/15.96, allocations: 35.17 kB / 5.582 GB, free: 42.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008929/15.97, allocations: 1.329 MB / 5.584 GB, free: 41.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/15.97, allocations: 381.4 kB / 5.584 GB, free: 41.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/15.97, allocations: 3.812 kB / 5.584 GB, free: 41.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001321/15.97, allocations: 377.7 kB / 5.584 GB, free: 41.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/15.97, allocations: 0.7568 MB / 5.585 GB, free: 41.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/15.97, allocations: 1.342 MB / 5.587 GB, free: 40.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/15.97, allocations: 1.243 MB / 5.588 GB, free: 40.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/15.97, allocations: 10.91 kB / 5.588 GB, free: 40.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004829/15.98, allocations: 2.617 MB / 5.59 GB, free: 40.24 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.00162/15.98, allocations: 6.438 MB / 5.597 GB, free: 33.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/15.98, allocations: 24.41 kB / 5.597 GB, free: 33.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.583e-05/15.98, allocations: 30.27 kB / 5.597 GB, free: 33.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006609/15.98, allocations: 1.18 MB / 5.598 GB, free: 33.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/15.99, allocations: 2.738 MB / 5.6 GB, free: 31.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/15.99, allocations: 428.8 kB / 5.601 GB, free: 31.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/15.99, allocations: 103.6 kB / 5.601 GB, free: 31.15 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/15.99, allocations: 3.875 kB / 5.601 GB, free: 31.15 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005189/16, allocations: 2.358 MB / 5.603 GB, free: 31.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.284e-05/16, allocations: 17.06 kB / 5.603 GB, free: 31.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.342e-05/16, allocations: 24.88 kB / 5.603 GB, free: 31.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/16, allocations: 0.5584 MB / 5.604 GB, free: 31.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.546e-05/16, allocations: 38.41 kB / 5.604 GB, free: 31.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/16, allocations: 326.6 kB / 5.604 GB, free: 31.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/16, allocations: 96.77 kB / 5.604 GB, free: 31.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008335/16, allocations: 167.5 kB / 5.604 GB, free: 30.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008649/16.01, allocations: 222.7 kB / 5.605 GB, free: 30.87 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/16.01, allocations: 1.703 MB / 5.606 GB, free: 30.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/16.01, allocations: 11.28 kB / 5.606 GB, free: 30.76 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/16.01, allocations: 5.328 kB / 5.606 GB, free: 30.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/16.01, allocations: 3.094 kB / 5.606 GB, free: 30.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009495/16.02, allocations: 4.055 MB / 5.61 GB, free: 30.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/16.02, allocations: 4.438 kB / 5.61 GB, free: 30.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005448/16.02, allocations: 0.9641 MB / 5.611 GB, free: 30.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/16.02, allocations: 13.33 kB / 5.611 GB, free: 30.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/16.02, allocations: 17.5 kB / 5.611 GB, free: 30.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009258/16.03, allocations: 6.118 MB / 5.617 GB, free: 25.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/16.03, allocations: 5.625 kB / 5.617 GB, free: 25.28 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/16.04, allocations: 2.13 MB / 5.619 GB, free: 24.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/16.04, allocations: 0.5126 MB / 5.62 GB, free: 24.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/16.04, allocations: 12.94 kB / 5.62 GB, free: 24.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/16.04, allocations: 282.1 kB / 5.62 GB, free: 24.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/16.04, allocations: 87.36 kB / 5.62 GB, free: 24.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/16.04, allocations: 71.56 kB / 5.62 GB, free: 24.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001947/16.04, allocations: 1.173 MB / 5.621 GB, free: 24.03 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.21e-07/16.04, allocations: 0.9375 kB / 5.621 GB, free: 24.03 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007071/16.05, allocations: 1.84 MB / 5.623 GB, free: 23.84 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01339/16.07, allocations: 8.383 MB / 5.631 GB, free: 19.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.009508/16.07, allocations: 4.049 MB / 5.635 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/16.07, allocations: 7.062 kB / 5.635 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/16.08, allocations: 1.268 MB / 5.637 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/16.08, allocations: 0.7512 MB / 5.637 GB, free: 18.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/16.09, allocations: 3.12 MB / 5.64 GB, free: 17.81 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/16.09, allocations: 1.768 MB / 5.642 GB, free: 17.06 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004532/16.1, allocations: 0.8429 MB / 5.643 GB, free: 17.04 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/16.1, allocations: 141.5 kB / 5.643 GB, free: 17.03 MB / 0.7605 GB Notification: Performance of SimCode: time 1.373e-06/16.1, allocations: 0 / 5.643 GB, free: 17.03 MB / 0.7605 GB Notification: Performance of Templates: time 0.1215/16.22, allocations: 73.52 MB / 5.715 GB, free: 10.06 MB / 0.7605 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)