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.8283/0.8283, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.001049, allocations: 186.7 kB / 187.3 MB, free: 11.89 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.553/1.553, allocations: 221.3 MB / 441.4 MB, free: 4.68 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.0008622/0.0008629, allocations: 99.2 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 276.8 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.799e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5808, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.434/6.015, allocations: 1.856 GB / 2.62 GB, free: 150.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/6.015, allocations: 85.52 kB / 2.62 GB, free: 150.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.129/10.14, allocations: 1.01 GB / 3.63 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/10.14, allocations: 0 / 3.63 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.832e-05/10.14, allocations: 29.25 kB / 3.63 GB, free: 108.1 MB / 0.7292 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.005968/10.15, allocations: 1.784 MB / 3.632 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/10.15, allocations: 10.56 kB / 3.632 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/10.15, allocations: 0.548 MB / 3.632 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/10.16, allocations: 1.071 MB / 3.633 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006063/10.16, allocations: 201 kB / 3.633 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/10.16, allocations: 86.53 kB / 3.634 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/10.16, allocations: 1.14 MB / 3.635 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/10.16, allocations: 3.656 kB / 3.635 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/10.16, allocations: 29.94 kB / 3.635 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/10.16, allocations: 50.92 kB / 3.635 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/10.16, allocations: 1.113 MB / 3.636 GB, free: 107.2 MB / 0.7292 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.007685/10.17, allocations: 4.198 MB / 3.64 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/10.17, allocations: 0.7648 MB / 3.641 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/10.17, allocations: 0.509 MB / 3.641 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/10.17, allocations: 0.6108 MB / 3.642 GB, free: 105 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/10.17, allocations: 41.94 kB / 3.642 GB, free: 105 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 4.318e-06/10.17, allocations: 1.969 kB / 3.642 GB, free: 105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.002443/10.17, allocations: 1.018 MB / 3.643 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/10.17, allocations: 63.95 kB / 3.643 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/10.18, allocations: 0.7025 MB / 3.644 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/10.18, allocations: 45.98 kB / 3.644 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/10.18, allocations: 443.8 kB / 3.644 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/10.18, allocations: 262.3 kB / 3.644 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/10.18, allocations: 15.84 kB / 3.644 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/10.18, allocations: 334.6 kB / 3.645 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/10.18, allocations: 403.4 kB / 3.645 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/10.18, allocations: 0.5517 MB / 3.645 GB, free: 104 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/10.18, allocations: 460.5 kB / 3.646 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/10.18, allocations: 3.469 kB / 3.646 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001705/10.18, allocations: 1.097 MB / 3.647 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/10.18, allocations: 485.4 kB / 3.647 GB, free: 103.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/10.18, allocations: 3.875 kB / 3.647 GB, free: 103.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/10.18, allocations: 1.906 kB / 3.647 GB, free: 103.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/10.18, allocations: 279 kB / 3.648 GB, free: 103.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005313/10.18, allocations: 1.193 MB / 3.649 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/10.18, allocations: 201.6 kB / 3.649 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/10.18, allocations: 39.5 kB / 3.649 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/10.18, allocations: 3.562 kB / 3.649 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/10.19, allocations: 0.9996 MB / 3.65 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/10.19, allocations: 0 / 3.65 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/10.19, allocations: 3.812 kB / 3.65 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/10.19, allocations: 259 kB / 3.65 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/10.19, allocations: 12.2 kB / 3.65 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/10.19, allocations: 192.2 kB / 3.651 GB, free: 102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/10.19, allocations: 44.62 kB / 3.651 GB, free: 102 MB / 0.7292 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.0002785/10.19, allocations: 149 kB / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/10.19, allocations: 105.7 kB / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/10.19, allocations: 1.115 MB / 3.652 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/10.19, allocations: 7.562 kB / 3.652 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/10.19, allocations: 3.953 kB / 3.652 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/10.19, allocations: 3.844 kB / 3.652 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/10.19, allocations: 2.599 MB / 3.654 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/10.2, allocations: 9.469 kB / 3.655 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/10.2, allocations: 265 kB / 3.655 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/10.2, allocations: 13.36 kB / 3.655 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/10.2, allocations: 26.56 kB / 3.655 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004963/10.2, allocations: 1.197 MB / 3.656 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/10.2, allocations: 7.359 kB / 3.656 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/10.2, allocations: 1.388 MB / 3.657 GB, free: 99.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/10.2, allocations: 317.6 kB / 3.658 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/10.2, allocations: 21.52 kB / 3.658 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/10.2, allocations: 168.7 kB / 3.658 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/10.2, allocations: 61.22 kB / 3.658 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/10.2, allocations: 40.22 kB / 3.658 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008395/10.2, allocations: 0.5507 MB / 3.658 GB, free: 99.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/10.2, allocations: 0 / 3.658 GB, free: 99.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003088/10.21, allocations: 0.7612 MB / 3.659 GB, free: 99.3 MB / 0.7292 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.00378/10.21, allocations: 2.366 MB / 3.661 GB, free: 98.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003138/10.21, allocations: 1.67 MB / 3.663 GB, free: 98.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/10.21, allocations: 1.25 kB / 3.663 GB, free: 98.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009202/10.21, allocations: 0.54 MB / 3.664 GB, free: 98.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/10.22, allocations: 0.5085 MB / 3.664 GB, free: 98.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/10.23, allocations: 2.369 MB / 3.666 GB, free: 97.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/10.23, allocations: 1.118 MB / 3.668 GB, free: 97.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002305/10.23, allocations: 486.5 kB / 3.668 GB, free: 97.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/10.23, allocations: 81.89 kB / 3.668 GB, free: 97.08 MB / 0.7292 GB Notification: Performance of SimCode: time 1.804e-06/10.23, allocations: 0 / 3.668 GB, free: 97.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.06882/10.3, allocations: 53.4 MB / 3.72 GB, free: 95.28 MB / 0.7292 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)