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.764/0.764, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 184.8 kB / 169.7 MB, free: 1.73 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.059/2.059, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009389/0.000939, allocations: 82.19 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.437e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 76.75 MB / 0.6281 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.605/6.813, allocations: 2.168 GB / 2.796 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/6.813, allocations: 90.84 kB / 2.796 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.188/11, allocations: 0.9904 GB / 3.787 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.547e-06/11, allocations: 2.562 kB / 3.787 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001137/11, allocations: 37.25 kB / 3.787 GB, free: 76.13 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.005449/11.01, allocations: 1.722 MB / 3.788 GB, free: 75.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/11.01, allocations: 6.375 kB / 3.788 GB, free: 75.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/11.01, allocations: 0.5419 MB / 3.789 GB, free: 75.32 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/11.01, allocations: 1.054 MB / 3.79 GB, free: 75.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006018/11.01, allocations: 205.3 kB / 3.79 GB, free: 75.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/11.01, allocations: 84.97 kB / 3.79 GB, free: 75.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/11.02, allocations: 1.184 MB / 3.791 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/11.02, allocations: 0 / 3.791 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/11.02, allocations: 34.78 kB / 3.791 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/11.02, allocations: 47.41 kB / 3.791 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/11.02, allocations: 1.243 MB / 3.793 GB, free: 74.95 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.006301/11.02, allocations: 4.066 MB / 3.796 GB, free: 73.42 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/11.03, allocations: 0.8033 MB / 3.797 GB, free: 73.39 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/11.03, allocations: 0.4936 MB / 3.798 GB, free: 73.38 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008901/11.03, allocations: 0.6071 MB / 3.798 GB, free: 72.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/11.03, allocations: 43.64 kB / 3.798 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 2.424e-06/11.03, allocations: 3.812 kB / 3.798 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.002663/11.03, allocations: 1.061 MB / 3.799 GB, free: 72.67 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/11.03, allocations: 63.91 kB / 3.799 GB, free: 72.61 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/11.03, allocations: 0.6923 MB / 3.8 GB, free: 72.46 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/11.03, allocations: 41.2 kB / 3.8 GB, free: 72.43 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/11.03, allocations: 454.6 kB / 3.801 GB, free: 72.29 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/11.03, allocations: 255.2 kB / 3.801 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/11.03, allocations: 15.22 kB / 3.801 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001354/11.03, allocations: 333.7 kB / 3.801 GB, free: 71.85 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/11.03, allocations: 392.1 kB / 3.802 GB, free: 71.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008346/11.03, allocations: 0.5189 MB / 3.802 GB, free: 71.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/11.03, allocations: 451.1 kB / 3.803 GB, free: 71.69 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/11.03, allocations: 0 / 3.803 GB, free: 71.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001866/11.04, allocations: 1.059 MB / 3.804 GB, free: 71.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/11.04, allocations: 390.6 kB / 3.804 GB, free: 71.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/11.04, allocations: 9.688 kB / 3.804 GB, free: 71.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/11.04, allocations: 3.438 kB / 3.804 GB, free: 71.17 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/11.04, allocations: 419.9 kB / 3.804 GB, free: 71.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/11.04, allocations: 1.308 MB / 3.806 GB, free: 69.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/11.04, allocations: 203.6 kB / 3.806 GB, free: 69.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/11.04, allocations: 37.67 kB / 3.806 GB, free: 69.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/11.04, allocations: 9.562 kB / 3.806 GB, free: 69.97 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/11.04, allocations: 0.9333 MB / 3.807 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/11.04, allocations: 3.25 kB / 3.807 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/11.04, allocations: 3.531 kB / 3.807 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/11.05, allocations: 252.8 kB / 3.807 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/11.05, allocations: 3.875 kB / 3.807 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/11.05, allocations: 197.1 kB / 3.807 GB, free: 69.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/11.05, allocations: 37.61 kB / 3.807 GB, free: 69.9 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.0002623/11.05, allocations: 149.4 kB / 3.807 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/11.05, allocations: 101.2 kB / 3.807 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/11.05, allocations: 1.063 MB / 3.809 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/11.05, allocations: 7.031 kB / 3.809 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/11.05, allocations: 3.953 kB / 3.809 GB, free: 69.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/11.05, allocations: 7.375 kB / 3.809 GB, free: 69.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/11.05, allocations: 2.515 MB / 3.811 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/11.05, allocations: 3.781 kB / 3.811 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/11.06, allocations: 436.8 kB / 3.811 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/11.06, allocations: 6.969 kB / 3.811 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/11.06, allocations: 24.86 kB / 3.811 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/11.06, allocations: 2.989 MB / 3.814 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/11.06, allocations: 7.625 kB / 3.814 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/11.06, allocations: 1.328 MB / 3.816 GB, free: 66.03 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/11.06, allocations: 301.6 kB / 3.816 GB, free: 65.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/11.06, allocations: 16.5 kB / 3.816 GB, free: 65.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/11.06, allocations: 177.8 kB / 3.816 GB, free: 65.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/11.06, allocations: 65.45 kB / 3.816 GB, free: 65.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/11.06, allocations: 34.97 kB / 3.816 GB, free: 65.88 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008545/11.06, allocations: 0.54 MB / 3.817 GB, free: 65.76 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/11.06, allocations: 0 / 3.817 GB, free: 65.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002858/11.07, allocations: 0.7492 MB / 3.817 GB, free: 65.72 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.004236/11.07, allocations: 2.394 MB / 3.82 GB, free: 64.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004065/11.08, allocations: 1.742 MB / 3.822 GB, free: 64.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/11.08, allocations: 5.156 kB / 3.822 GB, free: 64.69 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/11.08, allocations: 0.6826 MB / 3.822 GB, free: 64.69 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/11.08, allocations: 0.5049 MB / 3.823 GB, free: 64.67 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/11.08, allocations: 1.505 MB / 3.824 GB, free: 64.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/11.09, allocations: 1.107 MB / 3.825 GB, free: 63.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002061/11.09, allocations: 451.9 kB / 3.826 GB, free: 63.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/11.09, allocations: 75.25 kB / 3.826 GB, free: 63.48 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/11.09, allocations: 0 / 3.826 GB, free: 63.48 MB / 0.6667 GB Notification: Performance of Templates: time 0.07786/11.17, allocations: 53.34 MB / 3.878 GB, free: 58.65 MB / 0.6667 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)