Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8412/0.8412, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 172.9 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 86.64 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 279.5 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.905e-05, allocations: 0 / 0.6765 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5504, allocations: 82.78 MB / 0.7574 GB, free: 32.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.601/6.152, allocations: 1.855 GB / 2.613 GB, free: 163.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/6.152, allocations: 85.83 kB / 2.613 GB, free: 163.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.195/10.35, allocations: 0.9985 GB / 3.611 GB, free: 101 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/10.35, allocations: 3.5 kB / 3.611 GB, free: 101 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001773/10.35, allocations: 31.66 kB / 3.611 GB, free: 101 MB / 0.7136 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.007385/10.35, allocations: 1.783 MB / 3.613 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/10.35, allocations: 12.34 kB / 3.613 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/10.36, allocations: 0.5433 MB / 3.614 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/10.36, allocations: 1.076 MB / 3.615 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006221/10.36, allocations: 165.1 kB / 3.615 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/10.36, allocations: 46.66 kB / 3.615 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002153/10.36, allocations: 0.9975 MB / 3.616 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/10.37, allocations: 1.031 MB / 3.617 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/10.37, allocations: 0 / 3.617 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/10.37, allocations: 7.094 kB / 3.617 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/10.37, allocations: 43.91 kB / 3.617 GB, free: 100.1 MB / 0.7136 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.008645/10.38, allocations: 4.019 MB / 3.621 GB, free: 98.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/10.38, allocations: 0.7303 MB / 3.621 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/10.38, allocations: 0.4905 MB / 3.622 GB, free: 98.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/10.38, allocations: 0.6101 MB / 3.623 GB, free: 98.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/10.38, allocations: 42.66 kB / 3.623 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/10.38, allocations: 0 / 3.623 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002663/10.38, allocations: 1.131 MB / 3.624 GB, free: 97.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/10.38, allocations: 62.22 kB / 3.624 GB, free: 97.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/10.38, allocations: 0.5528 MB / 3.624 GB, free: 97.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/10.38, allocations: 29.33 kB / 3.624 GB, free: 97.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/10.38, allocations: 463.5 kB / 3.625 GB, free: 97.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/10.38, allocations: 243.7 kB / 3.625 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/10.38, allocations: 2.438 kB / 3.625 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/10.38, allocations: 340.5 kB / 3.625 GB, free: 97.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/10.38, allocations: 393.2 kB / 3.626 GB, free: 97.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/10.38, allocations: 0.5308 MB / 3.626 GB, free: 96.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/10.39, allocations: 0.5729 MB / 3.627 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/10.39, allocations: 3.312 kB / 3.627 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002224/10.39, allocations: 1.177 MB / 3.628 GB, free: 96.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/10.39, allocations: 484.8 kB / 3.628 GB, free: 96.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/10.39, allocations: 3.875 kB / 3.628 GB, free: 96.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/10.39, allocations: 3.312 kB / 3.628 GB, free: 96.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/10.39, allocations: 285.2 kB / 3.629 GB, free: 96.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006052/10.39, allocations: 1.201 MB / 3.63 GB, free: 95.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/10.39, allocations: 176.1 kB / 3.63 GB, free: 95.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/10.39, allocations: 38.98 kB / 3.63 GB, free: 95.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/10.39, allocations: 3.938 kB / 3.63 GB, free: 95.17 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001995/10.39, allocations: 1.063 MB / 3.631 GB, free: 95.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/10.39, allocations: 0 / 3.631 GB, free: 95.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/10.39, allocations: 7.031 kB / 3.631 GB, free: 95.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/10.4, allocations: 262 kB / 3.631 GB, free: 95.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/10.4, allocations: 3.344 kB / 3.631 GB, free: 95.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/10.4, allocations: 168.7 kB / 3.632 GB, free: 95.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/10.4, allocations: 39.67 kB / 3.632 GB, free: 95.14 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (86): * Single equations (assignments): 83 * 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.0002764/10.4, allocations: 127.9 kB / 3.632 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/10.4, allocations: 89.91 kB / 3.632 GB, free: 94.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/10.4, allocations: 1.206 MB / 3.633 GB, free: 94.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/10.4, allocations: 5.906 kB / 3.633 GB, free: 94.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/10.4, allocations: 0 / 3.633 GB, free: 94.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/10.4, allocations: 6.844 kB / 3.633 GB, free: 94.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/10.4, allocations: 2.573 MB / 3.635 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/10.4, allocations: 7.672 kB / 3.635 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/10.41, allocations: 258.3 kB / 3.636 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/10.41, allocations: 6.5 kB / 3.636 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/10.41, allocations: 20.22 kB / 3.636 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004558/10.41, allocations: 1.198 MB / 3.637 GB, free: 93.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/10.41, allocations: 6.625 kB / 3.637 GB, free: 93.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/10.41, allocations: 1.485 MB / 3.638 GB, free: 92.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/10.41, allocations: 315.4 kB / 3.639 GB, free: 92.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/10.41, allocations: 10.02 kB / 3.639 GB, free: 92.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/10.41, allocations: 153.3 kB / 3.639 GB, free: 92.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/10.41, allocations: 55.77 kB / 3.639 GB, free: 92.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-05/10.41, allocations: 43.81 kB / 3.639 GB, free: 92.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006212/10.41, allocations: 447.9 kB / 3.639 GB, free: 92.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/10.41, allocations: 0 / 3.639 GB, free: 92.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002939/10.41, allocations: 0.6757 MB / 3.64 GB, free: 92.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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.004852/10.42, allocations: 2.615 MB / 3.643 GB, free: 91.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003353/10.42, allocations: 1.61 MB / 3.644 GB, free: 91.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/10.42, allocations: 1.781 kB / 3.644 GB, free: 91.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009083/10.42, allocations: 0.5227 MB / 3.645 GB, free: 91.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/10.43, allocations: 429.5 kB / 3.645 GB, free: 91.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/10.44, allocations: 2.319 MB / 3.647 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/10.44, allocations: 1.119 MB / 3.648 GB, free: 90.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002635/10.44, allocations: 447.6 kB / 3.649 GB, free: 90.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/10.44, allocations: 76.72 kB / 3.649 GB, free: 90.24 MB / 0.7136 GB Notification: Performance of SimCode: time 1.462e-06/10.44, allocations: 0 / 3.649 GB, free: 90.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.06052/10.5, allocations: 31.17 MB / 3.679 GB, free: 89.07 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)