Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3103/0.3103, allocations: 54.41 MB / 61.88 MB, free: 13.72 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001238/0.001238, allocations: 179.6 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.534/1.534, allocations: 194.3 MB / 283.5 MB, free: 14.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00166/0.00166, allocations: 108.5 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.579e-05, allocations: 224 / 405.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 57.66 MB / 463.1 MB, free: 51.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.28/5.605, allocations: 2.145 GB / 2.597 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.606, allocations: 84.77 kB / 2.597 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.888/9.494, allocations: 0.9542 GB / 3.551 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.715e-06/9.494, allocations: 2.812 kB / 3.551 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000401/9.494, allocations: 35.42 kB / 3.551 GB, free: 61.47 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01115/9.505, allocations: 1.881 MB / 3.553 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/9.506, allocations: 12 kB / 3.553 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/9.51, allocations: 0.5302 MB / 3.554 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/9.514, allocations: 1.09 MB / 3.555 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008299/9.515, allocations: 181.8 kB / 3.555 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006172/9.516, allocations: 65.22 kB / 3.555 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004698/9.521, allocations: 1.242 MB / 3.556 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004622/9.525, allocations: 1.244 MB / 3.557 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/9.525, allocations: 2.953 kB / 3.557 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/9.526, allocations: 1.062 kB / 3.557 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/9.526, allocations: 53.48 kB / 3.557 GB, free: 60.39 MB / 0.5261 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.01152/9.537, allocations: 4.795 MB / 3.562 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/9.539, allocations: 0.8106 MB / 3.563 GB, free: 58.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/9.54, allocations: 499.2 kB / 3.563 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007063/9.541, allocations: 259.7 kB / 3.564 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/9.541, allocations: 51.73 kB / 3.564 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=79): time 4.227e-06/9.541, allocations: 0 / 3.564 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79): time 0.003473/9.545, allocations: 1.172 MB / 3.565 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/9.545, allocations: 60.59 kB / 3.565 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/9.546, allocations: 0.6113 MB / 3.565 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/9.546, allocations: 29.3 kB / 3.565 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/9.547, allocations: 0.5579 MB / 3.566 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000351/9.547, allocations: 263.1 kB / 3.566 GB, free: 57.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/9.547, allocations: 3.938 kB / 3.566 GB, free: 57.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001203/9.548, allocations: 339.4 kB / 3.567 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009489/9.549, allocations: 440.8 kB / 3.567 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/9.55, allocations: 0.5828 MB / 3.568 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/9.551, allocations: 0.6125 MB / 3.568 GB, free: 57.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/9.551, allocations: 0.9062 kB / 3.568 GB, free: 57.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003247/9.555, allocations: 1.296 MB / 3.569 GB, free: 57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005001/9.555, allocations: 1.086 MB / 3.57 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/9.555, allocations: 5.078 kB / 3.57 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/9.555, allocations: 8.406 kB / 3.57 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004677/9.56, allocations: 0.7327 MB / 3.571 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/9.561, allocations: 1.357 MB / 3.573 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/9.563, allocations: 211.7 kB / 3.573 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/9.564, allocations: 41.42 kB / 3.573 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/9.564, allocations: 4.156 kB / 3.573 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002808/9.566, allocations: 1.153 MB / 3.574 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/9.567, allocations: 2.75 kB / 3.574 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/9.567, allocations: 6.688 kB / 3.574 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/9.568, allocations: 315.1 kB / 3.574 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/9.568, allocations: 9.188 kB / 3.574 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/9.57, allocations: 183.2 kB / 3.574 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/9.57, allocations: 39.28 kB / 3.574 GB, free: 54.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (104): * Single equations (assignments): 101 * 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.0004745/9.571, allocations: 130.8 kB / 3.575 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/9.571, allocations: 99.56 kB / 3.575 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/9.574, allocations: 1.239 MB / 3.576 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/9.574, allocations: 6.25 kB / 3.576 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/9.574, allocations: 0 / 3.576 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/9.574, allocations: 7.016 kB / 3.576 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/9.579, allocations: 2.512 MB / 3.578 GB, free: 54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/9.579, allocations: 3.969 kB / 3.578 GB, free: 54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003593/9.583, allocations: 0.6858 MB / 3.579 GB, free: 54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.751e-05/9.583, allocations: 8.406 kB / 3.579 GB, free: 54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/9.583, allocations: 22.27 kB / 3.579 GB, free: 54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/9.586, allocations: 2.918 MB / 3.582 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/9.586, allocations: 3.375 kB / 3.582 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/9.589, allocations: 1.481 MB / 3.583 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/9.59, allocations: 335 kB / 3.584 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/9.59, allocations: 3.688 kB / 3.584 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/9.592, allocations: 168.7 kB / 3.584 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/9.593, allocations: 72.28 kB / 3.584 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/9.593, allocations: 51.75 kB / 3.584 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001054/9.594, allocations: 476.8 kB / 3.584 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/9.594, allocations: 0 / 3.584 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0043/9.598, allocations: 0.8156 MB / 3.585 GB, free: 50.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * 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.005628/9.604, allocations: 2.595 MB / 3.588 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005878/9.61, allocations: 2.14 MB / 3.59 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/9.61, allocations: 0 / 3.59 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005051/9.615, allocations: 1.242 MB / 3.591 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/9.618, allocations: 475.4 kB / 3.591 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/9.632, allocations: 2.462 MB / 3.594 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/9.633, allocations: 1.182 MB / 3.595 GB, free: 48.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003133/9.636, allocations: 452.7 kB / 3.595 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/9.637, allocations: 82.97 kB / 3.596 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/9.637, allocations: 3.25 kB / 3.596 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.06101/9.698, allocations: 33.33 MB / 3.628 GB, free: 46.41 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)