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.7723/0.7723, allocations: 128.7 MB / 143.7 MB, free: 2.316 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.001149/0.001149, allocations: 184.3 kB / 173.7 MB, free: 6.148 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.844/1.844, allocations: 205.4 MB / 409 MB, free: 10.51 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.001253/0.001252, allocations: 101.1 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003629, allocations: 8.75 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 76.78 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.129/5.302, allocations: 2.172 GB / 2.808 GB, free: 204 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/5.303, allocations: 99.2 kB / 2.808 GB, free: 203.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.657/14.96, allocations: 2.79 GB / 5.598 GB, free: 38.21 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.008e-06/14.96, allocations: 3.062 kB / 5.598 GB, free: 38.21 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004778/14.96, allocations: 68.05 kB / 5.598 GB, free: 38.21 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.01497/14.97, allocations: 4.086 MB / 5.602 GB, free: 36.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/14.97, allocations: 11.03 kB / 5.602 GB, free: 36.02 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001533/14.98, allocations: 318.2 kB / 5.602 GB, free: 35.97 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009923/14.99, allocations: 1.199 MB / 5.604 GB, free: 35.8 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007218/14.99, allocations: 2.299 MB / 5.606 GB, free: 35.24 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/14.99, allocations: 441.8 kB / 5.606 GB, free: 35.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009993/15, allocations: 230.8 kB / 5.606 GB, free: 35.23 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/15.01, allocations: 3.501 MB / 5.61 GB, free: 34.75 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/15.01, allocations: 11.48 kB / 5.61 GB, free: 34.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008574/15.01, allocations: 98.38 kB / 5.61 GB, free: 34.75 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/15.01, allocations: 92.44 kB / 5.61 GB, free: 34.74 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009744/15.02, allocations: 3.592 MB / 5.614 GB, free: 34.62 MB / 0.7605 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.0263/15.04, allocations: 14.55 MB / 5.628 GB, free: 26.68 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/15.05, allocations: 1.92 MB / 5.63 GB, free: 26.27 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/15.05, allocations: 135.2 kB / 5.63 GB, free: 26.17 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/15.05, allocations: 54.28 kB / 5.63 GB, free: 26.11 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002025/15.05, allocations: 225 kB / 5.63 GB, free: 26 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 6.973e-06/15.05, allocations: 4 kB / 5.63 GB, free: 26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.008411/15.06, allocations: 2.841 MB / 5.633 GB, free: 25.15 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/15.06, allocations: 66.97 kB / 5.633 GB, free: 25.08 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005525/15.07, allocations: 2.34 MB / 5.635 GB, free: 24.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006415/15.07, allocations: 59.08 kB / 5.635 GB, free: 24.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/15.07, allocations: 1.325 MB / 5.637 GB, free: 23.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/15.07, allocations: 386.7 kB / 5.637 GB, free: 22.83 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/15.07, allocations: 39.41 kB / 5.637 GB, free: 22.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001518/15.07, allocations: 375.8 kB / 5.637 GB, free: 22.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/15.07, allocations: 1.139 MB / 5.638 GB, free: 22.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/15.07, allocations: 1.747 MB / 5.64 GB, free: 20.32 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/15.08, allocations: 1.454 MB / 5.642 GB, free: 19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/15.08, allocations: 8 kB / 5.642 GB, free: 18.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00824/15.09, allocations: 3.352 MB / 5.645 GB, free: 16.03 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001625/15.09, allocations: 6.62 MB / 5.651 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/15.09, allocations: 16 kB / 5.651 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.976e-05/15.09, allocations: 28 kB / 5.651 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00699/15.1, allocations: 1.181 MB / 5.653 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/15.1, allocations: 2.873 MB / 5.655 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005501/15.1, allocations: 0.5047 MB / 5.656 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/15.11, allocations: 103.4 kB / 5.656 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/15.11, allocations: 4 kB / 5.656 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007439/15.11, allocations: 2.998 MB / 5.659 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/15.11, allocations: 16 kB / 5.659 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/15.11, allocations: 28 kB / 5.659 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/15.12, allocations: 0.5545 MB / 5.659 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.224e-05/15.12, allocations: 39.42 kB / 5.659 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/15.12, allocations: 420.9 kB / 5.66 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005433/15.12, allocations: 99.11 kB / 5.66 GB, free: 0.9609 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 () * Number of clocked 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.002186/15.12, allocations: 0.6407 MB / 5.661 GB, free: 348 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008888/15.12, allocations: 272.7 kB / 5.661 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009181/15.13, allocations: 2.062 MB / 5.663 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/15.13, allocations: 8 kB / 5.663 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/15.13, allocations: 3.75 kB / 5.663 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/15.13, allocations: 11.7 kB / 5.663 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/15.15, allocations: 4.692 MB / 5.667 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/15.15, allocations: 4 kB / 5.667 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009033/15.16, allocations: 0.9642 MB / 5.668 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.574e-05/15.16, allocations: 12 kB / 5.668 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004116/15.16, allocations: 35.92 kB / 5.668 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/15.18, allocations: 6.948 MB / 5.675 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/15.18, allocations: 4 kB / 5.675 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/15.19, allocations: 2.525 MB / 5.678 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002974/15.2, allocations: 0.5717 MB / 5.678 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/15.2, allocations: 23.98 kB / 5.678 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005899/15.2, allocations: 323.5 kB / 5.679 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/15.2, allocations: 84.78 kB / 5.679 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005663/15.2, allocations: 71.92 kB / 5.679 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006846/15.21, allocations: 1.811 MB / 5.681 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.81e-07/15.21, allocations: 4 kB / 5.681 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01386/15.23, allocations: 2.033 MB / 5.683 GB, free: 10.05 MB / 0.7917 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 () * Number of clocked 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.5721/15.8, allocations: 11.8 MB / 5.694 GB, free: 76.36 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01612/15.81, allocations: 4.995 MB / 5.699 GB, free: 75.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/15.81, allocations: 1.688 kB / 5.699 GB, free: 75.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006719/15.82, allocations: 1.506 MB / 5.7 GB, free: 75.59 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007241/15.83, allocations: 1.286 MB / 5.702 GB, free: 75.58 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/15.85, allocations: 17.33 MB / 5.719 GB, free: 61.54 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002754/15.85, allocations: 1.766 MB / 5.72 GB, free: 60.79 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.006129/15.86, allocations: 0.8108 MB / 5.721 GB, free: 60.76 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/15.86, allocations: 1.033 MB / 5.722 GB, free: 60.75 MB / 0.7917 GB Notification: Performance of SimCode: time 1.834e-06/15.86, allocations: 0 / 5.722 GB, free: 60.75 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2511/16.11, allocations: 157 MB / 5.875 GB, free: 49.14 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/16.11, allocations: 261.4 kB / 5.876 GB, free: 48.78 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/23.93, allocations: 0 / 5.876 GB, free: 48.78 MB / 0.7917 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)