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.3017/0.3017, allocations: 54.42 MB / 61.89 MB, free: 13.75 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.00145/0.00145, allocations: 190.8 kB / 75.61 MB, free: 0.7656 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.735/1.735, allocations: 194.3 MB / 283.5 MB, free: 14.79 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.001641/0.001641, allocations: 107.4 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/2.99e-05, allocations: 11.98 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4498, allocations: 57.65 MB / 463.2 MB, free: 51.71 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.276/6.726, allocations: 2.14 GB / 2.592 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/6.726, allocations: 92.14 kB / 2.592 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.476/8.203, allocations: 417.4 MB / 3 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/8.203, allocations: 2.875 kB / 3 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.336e-05/8.203, allocations: 25.2 kB / 3 GB, free: 88.43 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.002201/8.205, allocations: 1.107 MB / 3.001 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/8.205, allocations: 13.69 kB / 3.001 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/8.206, allocations: 193.8 kB / 3.001 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/8.207, allocations: 0.6592 MB / 3.002 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/8.207, allocations: 22.89 kB / 3.002 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/8.207, allocations: 39.94 kB / 3.002 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008743/8.208, allocations: 0.5481 MB / 3.002 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/8.209, allocations: 0.6306 MB / 3.003 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/8.209, allocations: 0 / 3.003 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/8.209, allocations: 3.844 kB / 3.003 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/8.209, allocations: 24.88 kB / 3.003 GB, free: 87.45 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.003206/8.213, allocations: 2.673 MB / 3.006 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/8.213, allocations: 354.8 kB / 3.006 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/8.213, allocations: 207.7 kB / 3.006 GB, free: 86.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/8.214, allocations: 127.4 kB / 3.006 GB, free: 85.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/8.214, allocations: 45.58 kB / 3.006 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 1.963e-06/8.214, allocations: 0 / 3.006 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.001036/8.215, allocations: 462.8 kB / 3.007 GB, free: 85.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/8.215, allocations: 63.16 kB / 3.007 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/8.215, allocations: 392.5 kB / 3.007 GB, free: 85.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/8.215, allocations: 25.7 kB / 3.007 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/8.216, allocations: 366.8 kB / 3.008 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/8.216, allocations: 140.3 kB / 3.008 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/8.216, allocations: 3.438 kB / 3.008 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/8.216, allocations: 369.4 kB / 3.008 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/8.216, allocations: 180.7 kB / 3.008 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/8.216, allocations: 293.4 kB / 3.009 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/8.217, allocations: 256.4 kB / 3.009 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/8.217, allocations: 0 / 3.009 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001004/8.218, allocations: 0.5835 MB / 3.009 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/8.218, allocations: 1.107 MB / 3.01 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/8.218, allocations: 0 / 3.01 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/8.218, allocations: 11.56 kB / 3.011 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/8.22, allocations: 335 kB / 3.011 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006415/8.221, allocations: 0.6811 MB / 3.011 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/8.221, allocations: 68.23 kB / 3.012 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/8.221, allocations: 24.86 kB / 3.012 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/8.222, allocations: 3.312 kB / 3.012 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008736/8.222, allocations: 0.5042 MB / 3.012 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/8.222, allocations: 2.188 kB / 3.012 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/8.222, allocations: 8.516 kB / 3.012 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/8.223, allocations: 118.6 kB / 3.012 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/8.223, allocations: 6.438 kB / 3.012 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/8.223, allocations: 63.97 kB / 3.012 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/8.223, allocations: 21.91 kB / 3.012 GB, free: 83.03 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.0001818/8.224, allocations: 122.5 kB / 3.012 GB, free: 82.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/8.224, allocations: 59.06 kB / 3.012 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/8.225, allocations: 467.3 kB / 3.013 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/8.225, allocations: 3.5 kB / 3.013 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/8.225, allocations: 0 / 3.013 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006717/8.225, allocations: 0.6796 MB / 3.014 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/8.227, allocations: 1.237 MB / 3.015 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/8.227, allocations: 2.969 kB / 3.015 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/8.229, allocations: 307.4 kB / 3.015 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/8.229, allocations: 3.906 kB / 3.015 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/8.229, allocations: 7.156 kB / 3.015 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/8.231, allocations: 1.414 MB / 3.016 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/8.231, allocations: 3.953 kB / 3.016 GB, free: 80.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/8.232, allocations: 0.8318 MB / 3.017 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/8.232, allocations: 199.8 kB / 3.017 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/8.232, allocations: 2.812 kB / 3.017 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006733/8.233, allocations: 63.58 kB / 3.018 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/8.233, allocations: 30.27 kB / 3.018 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/8.233, allocations: 33.27 kB / 3.018 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003268/8.233, allocations: 302.9 kB / 3.018 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.233, allocations: 0 / 3.018 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00144/8.235, allocations: 0.494 MB / 3.018 GB, free: 80.18 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.002224/8.237, allocations: 1.549 MB / 3.02 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002443/8.239, allocations: 1.111 MB / 3.021 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/8.239, allocations: 0 / 3.021 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/8.242, allocations: 0.541 MB / 3.021 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/8.243, allocations: 323 kB / 3.022 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/8.246, allocations: 1.138 MB / 3.023 GB, free: 79.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/8.246, allocations: 0.9906 MB / 3.024 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009149/8.247, allocations: 234.6 kB / 3.024 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/8.247, allocations: 47.84 kB / 3.024 GB, free: 78.48 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/8.247, allocations: 0 / 3.024 GB, free: 78.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.03112/8.278, allocations: 20.6 MB / 3.044 GB, free: 76.64 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)