Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction") translateModel(Annex60.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2804/0.2804, allocations: 54.33 MB / 66.89 MB, free: 6.102 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.001149/0.001149, allocations: 179 kB / 80.7 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.619/1.619, allocations: 194.2 MB / 288.6 MB, free: 15.05 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.001623/0.001623, allocations: 108.6 kB / 346.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.18e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/5.894, allocations: 2.141 GB / 2.6 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/5.895, allocations: 91.89 kB / 2.6 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.506/7.401, allocations: 422.4 MB / 3.012 GB, free: 81.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/7.401, allocations: 3.344 kB / 3.012 GB, free: 81.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.572e-05/7.401, allocations: 24.72 kB / 3.012 GB, free: 81.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002214/7.403, allocations: 1.104 MB / 3.013 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/7.403, allocations: 10.38 kB / 3.013 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/7.405, allocations: 199.3 kB / 3.013 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/7.406, allocations: 0.6512 MB / 3.014 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/7.406, allocations: 52.55 kB / 3.014 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/7.406, allocations: 72.22 kB / 3.014 GB, free: 80.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/7.407, allocations: 0.7576 MB / 3.015 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/7.407, allocations: 0 / 3.015 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.092e-05/7.407, allocations: 29.16 kB / 3.015 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/7.408, allocations: 20.84 kB / 3.015 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/7.409, allocations: 0.6154 MB / 3.016 GB, free: 80.48 MB / 0.4948 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.003351/7.412, allocations: 2.831 MB / 3.018 GB, free: 79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/7.413, allocations: 405.6 kB / 3.019 GB, free: 78.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/7.413, allocations: 215.8 kB / 3.019 GB, free: 78.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/7.413, allocations: 119.1 kB / 3.019 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/7.413, allocations: 38.3 kB / 3.019 GB, free: 78.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 2.655e-06/7.413, allocations: 0 / 3.019 GB, free: 78.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.001121/7.414, allocations: 499.7 kB / 3.02 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/7.414, allocations: 59.19 kB / 3.02 GB, free: 78.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/7.415, allocations: 0.5316 MB / 3.02 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/7.415, allocations: 40.2 kB / 3.02 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/7.415, allocations: 355 kB / 3.021 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/7.415, allocations: 146.1 kB / 3.021 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/7.415, allocations: 10.97 kB / 3.021 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/7.416, allocations: 371.4 kB / 3.021 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/7.416, allocations: 189.2 kB / 3.021 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/7.416, allocations: 309.4 kB / 3.022 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/7.417, allocations: 293.1 kB / 3.022 GB, free: 77.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/7.417, allocations: 0 / 3.022 GB, free: 77.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008535/7.417, allocations: 0.6725 MB / 3.022 GB, free: 77.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/7.418, allocations: 1.106 MB / 3.024 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/7.418, allocations: 3.969 kB / 3.024 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/7.418, allocations: 3.906 kB / 3.024 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/7.419, allocations: 323.9 kB / 3.024 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006116/7.42, allocations: 0.6629 MB / 3.025 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/7.421, allocations: 101.3 kB / 3.025 GB, free: 75.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/7.421, allocations: 27.44 kB / 3.025 GB, free: 75.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/7.421, allocations: 3.719 kB / 3.025 GB, free: 75.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008088/7.422, allocations: 0.5843 MB / 3.025 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/7.422, allocations: 0 / 3.025 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/7.422, allocations: 10.88 kB / 3.025 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/7.422, allocations: 115.1 kB / 3.025 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/7.422, allocations: 6.312 kB / 3.025 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/7.423, allocations: 86.92 kB / 3.025 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/7.423, allocations: 27.84 kB / 3.025 GB, free: 75.75 MB / 0.4948 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 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001942/7.423, allocations: 145.9 kB / 3.026 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/7.423, allocations: 66 kB / 3.026 GB, free: 75.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008168/7.424, allocations: 497.4 kB / 3.026 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/7.424, allocations: 3.812 kB / 3.026 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/7.424, allocations: 0 / 3.026 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005628/7.424, allocations: 0.6893 MB / 3.027 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/7.426, allocations: 1.327 MB / 3.028 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/7.426, allocations: 0 / 3.028 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/7.428, allocations: 317.7 kB / 3.028 GB, free: 74.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/7.428, allocations: 2.906 kB / 3.028 GB, free: 74.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/7.428, allocations: 17.36 kB / 3.028 GB, free: 74.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/7.43, allocations: 1.455 MB / 3.03 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/7.43, allocations: 11.69 kB / 3.03 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/7.431, allocations: 0.8563 MB / 3.031 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/7.431, allocations: 207.5 kB / 3.031 GB, free: 72.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/7.431, allocations: 21.36 kB / 3.031 GB, free: 72.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/7.432, allocations: 56.14 kB / 3.031 GB, free: 72.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/7.432, allocations: 33.89 kB / 3.031 GB, free: 72.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/7.432, allocations: 22.84 kB / 3.031 GB, free: 72.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005219/7.432, allocations: 426.7 kB / 3.031 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/7.432, allocations: 0 / 3.031 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001782/7.434, allocations: 0.5353 MB / 3.032 GB, free: 72.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002199/7.436, allocations: 1.399 MB / 3.033 GB, free: 72.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002523/7.439, allocations: 1.142 MB / 3.034 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/7.439, allocations: 0 / 3.034 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/7.441, allocations: 0.5557 MB / 3.035 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/7.444, allocations: 428.3 kB / 3.035 GB, free: 72.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/7.446, allocations: 1.176 MB / 3.037 GB, free: 71.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/7.447, allocations: 0.9951 MB / 3.038 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001062/7.448, allocations: 279.9 kB / 3.038 GB, free: 70.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/7.448, allocations: 48.09 kB / 3.038 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.293e-06/7.448, allocations: 0 / 3.038 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.04677/7.495, allocations: 35.75 MB / 3.073 GB, free: 51.69 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)