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.7597/0.7597, allocations: 127.4 MB / 134.9 MB, free: 3.785 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.001281/0.001281, allocations: 176.9 kB / 164.7 MB, free: 6.531 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.967/1.967, allocations: 205.2 MB / 399.5 MB, free: 5.91 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.001014/0.001014, allocations: 86.05 kB / 476.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.093e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/6.212, allocations: 2.172 GB / 2.793 GB, free: 59.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/6.212, allocations: 99.94 kB / 2.793 GB, free: 59.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 11.84/18.05, allocations: 2.757 GB / 5.551 GB, free: 51.31 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.034e-06/18.05, allocations: 1.594 kB / 5.551 GB, free: 51.31 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004348/18.05, allocations: 73.73 kB / 5.551 GB, free: 51.31 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.01478/18.07, allocations: 3.674 MB / 5.554 GB, free: 49.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/18.07, allocations: 9.656 kB / 5.554 GB, free: 49.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/18.08, allocations: 1.187 MB / 5.556 GB, free: 49.63 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/18.09, allocations: 2.285 MB / 5.558 GB, free: 49.22 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/18.09, allocations: 362.9 kB / 5.558 GB, free: 49.21 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/18.09, allocations: 143.2 kB / 5.558 GB, free: 49.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006264/18.09, allocations: 2.566 MB / 5.561 GB, free: 49.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00554/18.1, allocations: 2.518 MB / 5.563 GB, free: 48.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/18.1, allocations: 6.562 kB / 5.563 GB, free: 48.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003465/18.1, allocations: 3.312 kB / 5.563 GB, free: 48.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/18.1, allocations: 93.64 kB / 5.563 GB, free: 48.79 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.02769/18.13, allocations: 14.01 MB / 5.577 GB, free: 41.26 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/18.13, allocations: 1.339 MB / 5.578 GB, free: 41.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/18.13, allocations: 0.6089 MB / 5.579 GB, free: 41.22 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003775/18.13, allocations: 142.9 kB / 5.579 GB, free: 41.12 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/18.13, allocations: 58.53 kB / 5.579 GB, free: 41.08 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002361/18.13, allocations: 167 kB / 5.579 GB, free: 41.02 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 6.562e-06/18.13, allocations: 0 / 5.579 GB, free: 41.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.004239/18.14, allocations: 1.688 MB / 5.581 GB, free: 40.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/18.14, allocations: 63.16 kB / 5.581 GB, free: 40.78 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/18.14, allocations: 1.6 MB / 5.583 GB, free: 40.55 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004171/18.14, allocations: 38.64 kB / 5.583 GB, free: 40.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/18.14, allocations: 1.33 MB / 5.584 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/18.14, allocations: 376.9 kB / 5.584 GB, free: 39.68 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/18.14, allocations: 3.125 kB / 5.584 GB, free: 39.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001224/18.14, allocations: 374.7 kB / 5.585 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/18.14, allocations: 0.7537 MB / 5.585 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/18.15, allocations: 1.347 MB / 5.587 GB, free: 38.67 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/18.15, allocations: 1.25 MB / 5.588 GB, free: 38.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/18.15, allocations: 6.469 kB / 5.588 GB, free: 38.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005419/18.15, allocations: 2.619 MB / 5.59 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001867/18.16, allocations: 6.437 MB / 5.597 GB, free: 31.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/18.16, allocations: 19.67 kB / 5.597 GB, free: 31.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.593e-05/18.16, allocations: 31.41 kB / 5.597 GB, free: 31.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006591/18.16, allocations: 1.183 MB / 5.598 GB, free: 31.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/18.17, allocations: 2.733 MB / 5.601 GB, free: 29.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/18.17, allocations: 429.6 kB / 5.601 GB, free: 29.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006363/18.17, allocations: 103.2 kB / 5.601 GB, free: 29.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/18.17, allocations: 4.438 kB / 5.601 GB, free: 29.39 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005071/18.18, allocations: 2.354 MB / 5.603 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/18.18, allocations: 15.22 kB / 5.603 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/18.18, allocations: 27.67 kB / 5.603 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/18.18, allocations: 0.5638 MB / 5.604 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.88e-05/18.18, allocations: 33.77 kB / 5.604 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/18.18, allocations: 321.5 kB / 5.604 GB, free: 29.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/18.18, allocations: 103.8 kB / 5.604 GB, free: 29.34 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.001028/18.18, allocations: 169.7 kB / 5.605 GB, free: 29.22 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003981/18.19, allocations: 1.562 MB / 5.606 GB, free: 29.05 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/18.19, allocations: 224 kB / 5.606 GB, free: 28.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/18.19, allocations: 1.703 MB / 5.608 GB, free: 28.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/18.19, allocations: 10.28 kB / 5.608 GB, free: 28.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/18.19, allocations: 2.094 kB / 5.608 GB, free: 28.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/18.19, allocations: 5.344 kB / 5.608 GB, free: 28.82 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/18.2, allocations: 4.056 MB / 5.612 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/18.2, allocations: 5.625 kB / 5.612 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005435/18.21, allocations: 0.9654 MB / 5.613 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/18.21, allocations: 14.86 kB / 5.613 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/18.21, allocations: 19.05 kB / 5.613 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00919/18.22, allocations: 6.116 MB / 5.619 GB, free: 23.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/18.22, allocations: 5.938 kB / 5.619 GB, free: 23.34 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/18.22, allocations: 2.14 MB / 5.621 GB, free: 22.46 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/18.23, allocations: 0.5088 MB / 5.621 GB, free: 22.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006391/18.23, allocations: 13.14 kB / 5.622 GB, free: 22.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/18.23, allocations: 277 kB / 5.622 GB, free: 22.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/18.23, allocations: 85.83 kB / 5.622 GB, free: 22.24 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/18.23, allocations: 72.7 kB / 5.622 GB, free: 22.24 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002112/18.23, allocations: 1.174 MB / 5.623 GB, free: 22.1 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.91e-07/18.23, allocations: 0 / 5.623 GB, free: 22.1 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008227/18.24, allocations: 1.832 MB / 5.625 GB, free: 21.91 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.01838/18.26, allocations: 12.09 MB / 5.637 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01081/18.27, allocations: 4.05 MB / 5.641 GB, free: 30.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/18.27, allocations: 2.656 kB / 5.641 GB, free: 30.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004955/18.27, allocations: 1.269 MB / 5.642 GB, free: 30.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/18.28, allocations: 0.7622 MB / 5.643 GB, free: 30.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/18.29, allocations: 3.594 MB / 5.646 GB, free: 29.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/18.29, allocations: 1.773 MB / 5.648 GB, free: 28.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004376/18.29, allocations: 0.8442 MB / 5.649 GB, free: 28.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/18.3, allocations: 0.9738 MB / 5.65 GB, free: 28.63 MB / 0.7761 GB Notification: Performance of SimCode: time 2.234e-06/18.3, allocations: 0 / 5.65 GB, free: 28.63 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/18.47, allocations: 103.7 MB / 5.751 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/18.47, allocations: 180.9 kB / 5.751 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/25.06, allocations: 7.281 kB / 5.751 GB, free: 4.66 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)