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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.7696/0.7696, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001329/0.001328, allocations: 184.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.001053/0.001052, allocations: 94.28 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.131e-05, allocations: 4 kB / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1835, allocations: 76.76 MB / 0.6282 GB, free: 9.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.865/6.048, allocations: 2.172 GB / 2.8 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/6.049, allocations: 95.95 kB / 2.8 GB, free: 155.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 11.51/17.55, allocations: 2.788 GB / 5.588 GB, free: 32.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.645e-06/17.55, allocations: 0 / 5.588 GB, free: 32.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004649/17.56, allocations: 73.8 kB / 5.588 GB, free: 32.48 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.01454/17.57, allocations: 3.669 MB / 5.592 GB, free: 30.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/17.57, allocations: 7.688 kB / 5.592 GB, free: 30.23 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009846/17.57, allocations: 318.2 kB / 5.592 GB, free: 30.04 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00982/17.58, allocations: 1.192 MB / 5.593 GB, free: 29.42 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006746/17.59, allocations: 2.283 MB / 5.596 GB, free: 27.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001325/17.59, allocations: 444.1 kB / 5.596 GB, free: 26.89 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009981/17.59, allocations: 232 kB / 5.596 GB, free: 26.66 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006703/17.6, allocations: 3.137 MB / 5.599 GB, free: 23.36 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/17.6, allocations: 3.938 kB / 5.599 GB, free: 23.35 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/17.6, allocations: 99.95 kB / 5.599 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.82e-05/17.6, allocations: 100.3 kB / 5.599 GB, free: 23.15 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005662/17.6, allocations: 2.941 MB / 5.602 GB, free: 20.2 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.02395/17.63, allocations: 14.55 MB / 5.617 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/17.63, allocations: 1.531 MB / 5.618 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/17.63, allocations: 0.6457 MB / 5.619 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/17.63, allocations: 142 kB / 5.619 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/17.63, allocations: 52.44 kB / 5.619 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002087/17.63, allocations: 234.1 kB / 5.619 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 5.16e-06/17.63, allocations: 0 / 5.619 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.004503/17.64, allocations: 1.744 MB / 5.621 GB, free: 172 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/17.64, allocations: 68.41 kB / 5.621 GB, free: 92 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/17.64, allocations: 2.186 MB / 5.623 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/17.64, allocations: 57.7 kB / 5.623 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/17.64, allocations: 1.326 MB / 5.624 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/17.64, allocations: 378.6 kB / 5.625 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/17.64, allocations: 44 kB / 5.625 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001662/17.64, allocations: 369.9 kB / 5.625 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/17.64, allocations: 0.7966 MB / 5.626 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/17.65, allocations: 1.409 MB / 5.627 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/17.65, allocations: 1.114 MB / 5.628 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/17.65, allocations: 7.938 kB / 5.628 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004711/17.65, allocations: 2.675 MB / 5.631 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.6893/18.34, allocations: 6.619 MB / 5.637 GB, free: 59.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.469e-05/18.34, allocations: 14.88 kB / 5.637 GB, free: 59.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.644e-05/18.34, allocations: 27.59 kB / 5.637 GB, free: 59.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007989/18.35, allocations: 1.181 MB / 5.639 GB, free: 59.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/18.35, allocations: 2.721 MB / 5.641 GB, free: 56.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/18.36, allocations: 0.5039 MB / 5.642 GB, free: 56.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006749/18.36, allocations: 105 kB / 5.642 GB, free: 56.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/18.36, allocations: 4.375 kB / 5.642 GB, free: 56.71 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004657/18.37, allocations: 2.413 MB / 5.644 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/18.37, allocations: 13.97 kB / 5.644 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/18.37, allocations: 25.83 kB / 5.644 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/18.37, allocations: 0.5624 MB / 5.645 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.907e-05/18.37, allocations: 35.92 kB / 5.645 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/18.37, allocations: 404.4 kB / 5.645 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/18.37, allocations: 101 kB / 5.645 GB, free: 56.52 MB / 0.7761 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.001034/18.37, allocations: 228.5 kB / 5.646 GB, free: 56.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/18.37, allocations: 270.6 kB / 5.646 GB, free: 56.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/18.38, allocations: 1.639 MB / 5.647 GB, free: 56.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/18.38, allocations: 10.28 kB / 5.647 GB, free: 56.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/18.38, allocations: 2.125 kB / 5.647 GB, free: 56.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/18.38, allocations: 6.141 kB / 5.647 GB, free: 56.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/18.39, allocations: 4.275 MB / 5.652 GB, free: 55.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/18.39, allocations: 3.781 kB / 5.652 GB, free: 55.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006331/18.4, allocations: 0.9672 MB / 5.653 GB, free: 55.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.937e-05/18.4, allocations: 8.891 kB / 5.653 GB, free: 55.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/18.4, allocations: 33.41 kB / 5.653 GB, free: 55.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/18.41, allocations: 6.321 MB / 5.659 GB, free: 50.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/18.41, allocations: 7.625 kB / 5.659 GB, free: 50.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/18.42, allocations: 2.105 MB / 5.661 GB, free: 49.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/18.42, allocations: 0.5786 MB / 5.661 GB, free: 49.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/18.42, allocations: 20.83 kB / 5.661 GB, free: 49.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00418/18.42, allocations: 321.4 kB / 5.662 GB, free: 49.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/18.42, allocations: 84.34 kB / 5.662 GB, free: 49.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/18.43, allocations: 72.56 kB / 5.662 GB, free: 49.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005027/18.43, allocations: 1.659 MB / 5.663 GB, free: 49.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.91e-07/18.43, allocations: 0 / 5.663 GB, free: 49.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.014/18.44, allocations: 2.031 MB / 5.665 GB, free: 49.21 MB / 0.7761 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.02046/18.46, allocations: 11.4 MB / 5.677 GB, free: 42.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01159/18.48, allocations: 4.244 MB / 5.681 GB, free: 41.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.875e-05/18.48, allocations: 8.156 kB / 5.681 GB, free: 41.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/18.48, allocations: 1.295 MB / 5.682 GB, free: 41.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008145/18.49, allocations: 1.284 MB / 5.683 GB, free: 41.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/18.5, allocations: 3.77 MB / 5.687 GB, free: 40.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/18.5, allocations: 1.78 MB / 5.689 GB, free: 40 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005892/18.51, allocations: 1.007 MB / 5.69 GB, free: 39.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002657/18.51, allocations: 0.996 MB / 5.691 GB, free: 39.97 MB / 0.7761 GB Notification: Performance of SimCode: time 1.703e-06/18.51, allocations: 0 / 5.691 GB, free: 39.97 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2929/18.8, allocations: 175.9 MB / 5.862 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/18.81, allocations: 234.5 kB / 5.863 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.166/27.97, allocations: 0 / 5.863 GB, free: 7.363 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)