Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.8041/0.8041, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001147/0.001147, allocations: 178.8 kB / 164.6 MB, free: 11.61 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.084/2.084, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.001064/0.001064, allocations: 105.5 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.141e-05, allocations: 2.812 kB / 0.5466 GB, free: 95.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 76.77 MB / 0.6216 GB, free: 42.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.377/6.581, allocations: 2.167 GB / 2.789 GB, free: 184.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/6.582, allocations: 94.75 kB / 2.789 GB, free: 184.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.863/10.44, allocations: 0.9792 GB / 3.768 GB, free: 84.24 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.124e-06/10.44, allocations: 4.469 kB / 3.768 GB, free: 84.24 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001256/10.44, allocations: 30.78 kB / 3.768 GB, free: 84.24 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005914/10.45, allocations: 1.722 MB / 3.77 GB, free: 83.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/10.45, allocations: 15.34 kB / 3.77 GB, free: 83.77 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/10.45, allocations: 0.5416 MB / 3.77 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/10.46, allocations: 1.051 MB / 3.771 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/10.46, allocations: 168.3 kB / 3.772 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/10.46, allocations: 52.97 kB / 3.772 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002187/10.46, allocations: 1.047 MB / 3.773 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/10.46, allocations: 1.018 MB / 3.774 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/10.46, allocations: 0 / 3.774 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/10.46, allocations: 0.9062 kB / 3.774 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/10.46, allocations: 45.86 kB / 3.774 GB, free: 83.34 MB / 0.6667 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.006851/10.47, allocations: 3.982 MB / 3.778 GB, free: 81.85 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/10.47, allocations: 0.7541 MB / 3.778 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/10.47, allocations: 497.4 kB / 3.779 GB, free: 81.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/10.47, allocations: 0.6133 MB / 3.779 GB, free: 81.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/10.47, allocations: 41.73 kB / 3.78 GB, free: 81.21 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 3.747e-06/10.47, allocations: 0 / 3.78 GB, free: 81.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.002838/10.47, allocations: 1.183 MB / 3.781 GB, free: 81.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/10.47, allocations: 60 kB / 3.781 GB, free: 81.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/10.47, allocations: 0.5566 MB / 3.781 GB, free: 80.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/10.48, allocations: 25.7 kB / 3.781 GB, free: 80.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/10.48, allocations: 462.3 kB / 3.782 GB, free: 80.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/10.48, allocations: 245.4 kB / 3.782 GB, free: 80.62 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/10.48, allocations: 3.562 kB / 3.782 GB, free: 80.62 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/10.48, allocations: 332.7 kB / 3.782 GB, free: 80.31 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/10.48, allocations: 406.7 kB / 3.783 GB, free: 80.31 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/10.48, allocations: 0.5283 MB / 3.783 GB, free: 80.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/10.48, allocations: 0.5817 MB / 3.784 GB, free: 80.19 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/10.48, allocations: 0 / 3.784 GB, free: 80.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002101/10.48, allocations: 1.195 MB / 3.785 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/10.48, allocations: 397 kB / 3.785 GB, free: 79.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/10.48, allocations: 3.094 kB / 3.785 GB, free: 79.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/10.48, allocations: 3.688 kB / 3.785 GB, free: 79.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/10.48, allocations: 431.7 kB / 3.786 GB, free: 79.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/10.48, allocations: 1.314 MB / 3.787 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/10.49, allocations: 182.7 kB / 3.787 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/10.49, allocations: 42.78 kB / 3.787 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/10.49, allocations: 4.594 kB / 3.787 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/10.49, allocations: 1.057 MB / 3.788 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/10.49, allocations: 2.719 kB / 3.788 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/10.49, allocations: 2.656 kB / 3.788 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/10.49, allocations: 260.5 kB / 3.789 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/10.49, allocations: 6.438 kB / 3.789 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/10.49, allocations: 171.2 kB / 3.789 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/10.49, allocations: 37.55 kB / 3.789 GB, free: 78.48 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004433/10.49, allocations: 119.1 kB / 3.789 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00274/10.49, allocations: 1.098 MB / 3.79 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/10.49, allocations: 94.67 kB / 3.79 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/10.5, allocations: 1.215 MB / 3.791 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/10.5, allocations: 9.438 kB / 3.791 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/10.5, allocations: 0 / 3.791 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/10.5, allocations: 3.422 kB / 3.791 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/10.5, allocations: 2.57 MB / 3.794 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/10.5, allocations: 6.625 kB / 3.794 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/10.5, allocations: 447.9 kB / 3.794 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/10.5, allocations: 11 kB / 3.794 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/10.5, allocations: 16.89 kB / 3.794 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/10.51, allocations: 2.907 MB / 3.797 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/10.51, allocations: 4.438 kB / 3.797 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/10.51, allocations: 1.482 MB / 3.798 GB, free: 74.68 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/10.51, allocations: 294.5 kB / 3.799 GB, free: 74.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/10.51, allocations: 2.906 kB / 3.799 GB, free: 74.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/10.51, allocations: 162.4 kB / 3.799 GB, free: 74.54 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/10.51, allocations: 64.91 kB / 3.799 GB, free: 74.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/10.51, allocations: 41.28 kB / 3.799 GB, free: 74.53 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006589/10.51, allocations: 430.6 kB / 3.799 GB, free: 74.44 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/10.51, allocations: 0 / 3.799 GB, free: 74.44 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002446/10.52, allocations: 0.6782 MB / 3.8 GB, free: 74.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006453/10.52, allocations: 5.542 MB / 3.805 GB, free: 71.62 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00372/10.53, allocations: 1.764 MB / 3.807 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/10.53, allocations: 2.438 kB / 3.807 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/10.53, allocations: 0.6935 MB / 3.808 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/10.53, allocations: 429 kB / 3.808 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/10.54, allocations: 2.506 MB / 3.811 GB, free: 70.95 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/10.54, allocations: 1.109 MB / 3.812 GB, free: 70.25 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002075/10.55, allocations: 430.4 kB / 3.812 GB, free: 70.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/10.55, allocations: 377.9 kB / 3.813 GB, free: 70.23 MB / 0.6667 GB Notification: Performance of SimCode: time 1.894e-06/10.55, allocations: 0 / 3.813 GB, free: 70.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07922/10.63, allocations: 43.98 MB / 3.856 GB, free: 68.86 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/10.63, allocations: 189.8 kB / 3.856 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/14.52, allocations: 0 / 3.856 GB, free: 68.66 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)