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: translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8291/0.8291, allocations: 128.8 MB / 143.7 MB, free: 2.336 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.001382/0.001382, allocations: 187.8 kB / 173.8 MB, free: 6.137 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.946/1.946, 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.001029/0.001029, allocations: 86.91 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 12 kB / 0.5603 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 76.77 MB / 0.6353 GB, free: 30.61 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.598/6.811, allocations: 2.168 GB / 2.803 GB, free: 208.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/6.812, allocations: 91.02 kB / 2.803 GB, free: 208.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.58/10.39, allocations: 0.9913 GB / 3.795 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.336e-06/10.39, allocations: 0 / 3.795 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001057/10.39, allocations: 38.17 kB / 3.795 GB, free: 88.88 MB / 0.6823 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.006987/10.4, allocations: 1.893 MB / 3.797 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/10.4, allocations: 13.16 kB / 3.797 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/10.4, allocations: 0.5412 MB / 3.797 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/10.41, allocations: 1.06 MB / 3.798 GB, free: 88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006017/10.41, allocations: 205.5 kB / 3.798 GB, free: 88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/10.41, allocations: 87.53 kB / 3.798 GB, free: 88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/10.41, allocations: 1.397 MB / 3.8 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/10.41, allocations: 1.188 kB / 3.8 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/10.41, allocations: 33 kB / 3.8 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/10.41, allocations: 46.12 kB / 3.8 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/10.41, allocations: 1.648 MB / 3.801 GB, free: 87.91 MB / 0.6823 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.007691/10.42, allocations: 4.067 MB / 3.805 GB, free: 86.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/10.43, allocations: 1.125 MB / 3.807 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009182/10.43, allocations: 0.61 MB / 3.807 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/10.43, allocations: 39.88 kB / 3.807 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 3.446e-06/10.43, allocations: 1.094 kB / 3.807 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.006271/10.43, allocations: 2.017 MB / 3.809 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/10.43, allocations: 63.06 kB / 3.809 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/10.43, allocations: 0.6972 MB / 3.81 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/10.43, allocations: 42.92 kB / 3.81 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/10.43, allocations: 451.9 kB / 3.81 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/10.43, allocations: 258.5 kB / 3.811 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/10.43, allocations: 17.78 kB / 3.811 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/10.43, allocations: 337.4 kB / 3.811 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/10.44, allocations: 0.5877 MB / 3.811 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/10.44, allocations: 0.7131 MB / 3.812 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/10.44, allocations: 0.6427 MB / 3.813 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/10.44, allocations: 0 / 3.813 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003363/10.44, allocations: 1.459 MB / 3.814 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/10.44, allocations: 396.9 kB / 3.815 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/10.44, allocations: 0 / 3.815 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/10.44, allocations: 6.781 kB / 3.815 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/10.45, allocations: 430.5 kB / 3.815 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/10.45, allocations: 1.331 MB / 3.816 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/10.45, allocations: 210.8 kB / 3.817 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/10.45, allocations: 35.2 kB / 3.817 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/10.45, allocations: 3.906 kB / 3.817 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002996/10.45, allocations: 1.305 MB / 3.818 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/10.45, allocations: 3.969 kB / 3.818 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/10.45, allocations: 3.906 kB / 3.818 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/10.45, allocations: 250.4 kB / 3.818 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/10.45, allocations: 9.438 kB / 3.818 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/10.45, allocations: 195.3 kB / 3.818 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/10.45, allocations: 34.95 kB / 3.818 GB, free: 82.89 MB / 0.6823 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 () * Number of clocked 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.000848/10.46, allocations: 377 kB / 3.819 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/10.46, allocations: 100.6 kB / 3.819 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/10.46, allocations: 1.469 MB / 3.82 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/10.46, allocations: 6.5 kB / 3.82 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/10.46, allocations: 5.891 kB / 3.82 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/10.46, allocations: 3.938 kB / 3.82 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/10.47, allocations: 2.914 MB / 3.823 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/10.47, allocations: 2.219 kB / 3.823 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/10.47, allocations: 439.4 kB / 3.823 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/10.47, allocations: 7.469 kB / 3.824 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/10.47, allocations: 25.19 kB / 3.824 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/10.47, allocations: 3.159 MB / 3.827 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/10.47, allocations: 8.922 kB / 3.827 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/10.48, allocations: 1.712 MB / 3.828 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/10.48, allocations: 307.8 kB / 3.829 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/10.48, allocations: 16.41 kB / 3.829 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/10.48, allocations: 169.7 kB / 3.829 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/10.48, allocations: 68.12 kB / 3.829 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/10.48, allocations: 35.91 kB / 3.829 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009075/10.48, allocations: 0.5478 MB / 3.829 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/10.48, allocations: 0 / 3.829 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003024/10.48, allocations: 0.7459 MB / 3.83 GB, free: 78.66 MB / 0.6823 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 () * Number of clocked 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.003955/10.49, allocations: 2.4 MB / 3.832 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006791/10.49, allocations: 2.292 MB / 3.835 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/10.49, allocations: 0 / 3.835 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/10.5, allocations: 0.8889 MB / 3.836 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/10.5, allocations: 0.5002 MB / 3.836 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/10.51, allocations: 2.414 MB / 3.838 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/10.51, allocations: 1.113 MB / 3.84 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002357/10.51, allocations: 383.5 kB / 3.84 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/10.51, allocations: 84.42 kB / 3.84 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/10.51, allocations: 0 / 3.84 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.06422/10.57, allocations: 45.92 MB / 3.885 GB, free: 73.97 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)