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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001286/0.001286, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.989/0.989, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 12 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 83.42 MB / 0.5974 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5884/0.7499, allocations: 265.6 MB / 0.8568 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4049/1.155, allocations: 27.16 MB / 0.8833 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/1.158, allocations: 78.84 kB / 0.8834 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004862/1.163, allocations: 1.664 MB / 0.885 GB, free: 8.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01535/1.178, allocations: 4.681 MB / 0.8896 GB, free: 8.461 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008415/1.187, allocations: 2.608 MB / 0.8921 GB, free: 8.422 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.198, allocations: 3.931 MB / 0.896 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006876/1.205, allocations: 2.241 MB / 0.8981 GB, free: 24.15 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/1.216, allocations: 3.473 MB / 0.9015 GB, free: 24.14 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/1.221, allocations: 1.598 MB / 0.9031 GB, free: 24.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/1.222, allocations: 130.2 kB / 0.9032 GB, free: 24.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008977/1.231, allocations: 2.21 MB / 0.9054 GB, free: 24.12 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002252/1.234, allocations: 0.8177 MB / 0.9062 GB, free: 24.12 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/1.236, allocations: 0.6308 MB / 0.9068 GB, free: 24.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007259/1.243, allocations: 3.816 MB / 0.9105 GB, free: 23.81 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.243, allocations: 0 / 0.9105 GB, free: 23.81 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.025e-06/1.243, allocations: 0.7812 kB / 0.9105 GB, free: 23.81 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001314/1.244, allocations: 0 / 0.9105 GB, free: 23.81 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.008718/1.252, allocations: 2.999 MB / 0.9134 GB, free: 22.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.252, allocations: 9.844 kB / 0.9135 GB, free: 22.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/1.253, allocations: 304 kB / 0.9137 GB, free: 22.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/1.264, allocations: 1.583 MB / 0.9153 GB, free: 21.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00539/1.27, allocations: 1.902 MB / 0.9171 GB, free: 21.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/1.271, allocations: 436.5 kB / 0.9176 GB, free: 21.45 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006778/1.272, allocations: 219.6 kB / 0.9178 GB, free: 21.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006497/1.278, allocations: 3.072 MB / 0.9208 GB, free: 20.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/1.278, allocations: 7.609 kB / 0.9208 GB, free: 20.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/1.278, allocations: 89.94 kB / 0.9209 GB, free: 20.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-05/1.279, allocations: 88.53 kB / 0.9209 GB, free: 20.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/1.285, allocations: 3.214 MB / 0.9241 GB, free: 20.34 MB / 0.6856 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.02347/1.309, allocations: 14.3 MB / 0.9381 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00373/1.312, allocations: 1.702 MB / 0.9397 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004549/1.313, allocations: 162.2 kB / 0.9399 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.313, allocations: 46.41 kB / 0.9399 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001797/1.315, allocations: 201.9 kB / 0.9401 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 4.578e-06/1.315, allocations: 0 / 0.9401 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.005577/1.32, allocations: 2.41 MB / 0.9425 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.321, allocations: 67.55 kB / 0.9425 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/1.325, allocations: 2.535 MB / 0.945 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/1.325, allocations: 56.39 kB / 0.9451 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008909/1.326, allocations: 1.265 MB / 0.9463 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.326, allocations: 390.2 kB / 0.9467 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.326, allocations: 36.69 kB / 0.9467 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.326, allocations: 368.4 kB / 0.947 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/1.329, allocations: 1.003 MB / 0.948 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/1.332, allocations: 1.623 MB / 0.9496 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/1.335, allocations: 1.21 MB / 0.9508 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/1.335, allocations: 7.109 kB / 0.9508 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006347/1.341, allocations: 2.874 MB / 0.9536 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.002042/1.343, allocations: 5.773 MB / 0.9592 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.343, allocations: 16.41 kB / 0.9593 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.266e-05/1.343, allocations: 29.88 kB / 0.9593 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/1.346, allocations: 0.5871 MB / 0.9599 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/1.348, allocations: 2.399 MB / 0.9622 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/1.352, allocations: 445 kB / 0.9626 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.352, allocations: 97.03 kB / 0.9627 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.352, allocations: 2.938 kB / 0.9627 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005773/1.358, allocations: 2.642 MB / 0.9653 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.358, allocations: 14.06 kB / 0.9653 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/1.358, allocations: 27.97 kB / 0.9653 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.361, allocations: 0.5315 MB / 0.9659 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.594e-05/1.361, allocations: 32.52 kB / 0.9659 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/1.364, allocations: 372.5 kB / 0.9662 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/1.365, allocations: 92.42 kB / 0.9663 GB, free: 11.9 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * 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.001526/1.366, allocations: 0.6368 MB / 0.967 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.367, allocations: 260.7 kB / 0.9672 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/1.371, allocations: 1.871 MB / 0.969 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.371, allocations: 15.62 kB / 0.969 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/1.371, allocations: 2.656 kB / 0.9691 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.371, allocations: 11.97 kB / 0.9691 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008795/1.38, allocations: 4.519 MB / 0.9735 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.38, allocations: 8 kB / 0.9735 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.382, allocations: 317.6 kB / 0.9738 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/1.382, allocations: 11.94 kB / 0.9738 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/1.382, allocations: 34.73 kB / 0.9738 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/1.383, allocations: 2.372 MB / 0.9761 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.383, allocations: 10.44 kB / 0.9762 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/1.388, allocations: 2.509 MB / 0.9786 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.39, allocations: 0.5345 MB / 0.9791 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/1.39, allocations: 24.12 kB / 0.9792 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/1.393, allocations: 294.2 kB / 0.9794 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.393, allocations: 83.77 kB / 0.9795 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.393, allocations: 65.64 kB / 0.9796 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003081/1.396, allocations: 1.745 MB / 0.9813 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.11e-07/1.396, allocations: 0 / 0.9813 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004748/1.401, allocations: 1.304 MB / 0.9826 GB, free: 184 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * 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.005948/1.407, allocations: 4.767 MB / 0.9872 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008985/1.416, allocations: 3.704 MB / 0.9908 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.416, allocations: 2.906 kB / 0.9908 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.418, allocations: 0.83 MB / 0.9916 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007693/1.426, allocations: 1.196 MB / 0.9928 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.448, allocations: 16.34 MB / 1.009 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.45, allocations: 1.747 MB / 1.01 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004343/1.454, allocations: 0.7857 MB / 1.011 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.456, allocations: 1.011 MB / 1.012 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of SimCode: time 2.114e-06/1.456, allocations: 2.906 kB / 1.012 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.568, allocations: 65.76 MB / 1.076 GB, free: 3.594 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.568, allocations: 279.5 kB / 1.077 GB, free: 3.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/5.076, allocations: 0 / 1.077 GB, free: 3.23 MB / 0.795 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) Environment - environmentSimulation: