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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009021/0.000902, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.38/0.38, allocations: 54.98 MB / 325.3 MB, free: 0.7227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005979/0.000598, allocations: 12 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3026, allocations: 60.72 MB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MassFraction): time 0.2064/0.509, allocations: 155.3 MB / 0.5982 GB, free: 12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006533/0.5156, allocations: 4.277 MB / 0.6024 GB, free: 7.719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.5162, allocations: 23.88 kB / 0.6024 GB, free: 7.695 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.5177, allocations: 430 kB / 0.6029 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.5209, allocations: 1.102 MB / 0.6039 GB, free: 6.168 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.5232, allocations: 0.793 MB / 0.6047 GB, free: 5.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.5252, allocations: 1.324 MB / 0.606 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.526, allocations: 0.5325 MB / 0.6065 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.5277, allocations: 0.8489 MB / 0.6073 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.5284, allocations: 434.4 kB / 0.6078 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/0.5285, allocations: 39.94 kB / 0.6078 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5297, allocations: 487.3 kB / 0.6083 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.5301, allocations: 291.2 kB / 0.6085 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.5303, allocations: 201.3 kB / 0.6087 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.5316, allocations: 1.065 MB / 0.6098 GB, free: 184 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.5316, allocations: 0 / 0.6098 GB, free: 184 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5316, allocations: 0 / 0.6098 GB, free: 184 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.5316, allocations: 0 / 0.6098 GB, free: 184 kB / 478.1 MB 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.001826/0.5334, allocations: 1.056 MB / 0.6108 GB, free: 15.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5335, allocations: 16.03 kB / 0.6108 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5346, allocations: 186.8 kB / 0.611 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5357, allocations: 0.5835 MB / 0.6116 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.5358, allocations: 57.3 kB / 0.6116 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.5359, allocations: 71.94 kB / 0.6117 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5374, allocations: 0.8079 MB / 0.6125 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5374, allocations: 0 / 0.6125 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.5375, allocations: 32 kB / 0.6125 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.5375, allocations: 29.25 kB / 0.6125 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.5388, allocations: 0.657 MB / 0.6132 GB, free: 12.57 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003706/0.5425, allocations: 2.822 MB / 0.6159 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5436, allocations: 471.4 kB / 0.6164 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.544, allocations: 141.9 kB / 0.6165 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.544, allocations: 38.89 kB / 0.6166 GB, free: 8.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.285e-06/0.544, allocations: 0 / 0.6166 GB, free: 8.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.00176/0.5458, allocations: 0.6822 MB / 0.6172 GB, free: 8.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5458, allocations: 59.41 kB / 0.6173 GB, free: 8.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.5466, allocations: 0.5938 MB / 0.6179 GB, free: 7.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.5467, allocations: 45.7 kB / 0.6179 GB, free: 7.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.547, allocations: 352.2 kB / 0.6182 GB, free: 7.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.5471, allocations: 145.9 kB / 0.6184 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.5471, allocations: 15.94 kB / 0.6184 GB, free: 6.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5473, allocations: 370.8 kB / 0.6187 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.5478, allocations: 208.9 kB / 0.6189 GB, free: 6.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.5483, allocations: 330.8 kB / 0.6193 GB, free: 5.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.5488, allocations: 312.1 kB / 0.6196 GB, free: 5.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5488, allocations: 4 kB / 0.6196 GB, free: 5.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001225/0.5501, allocations: 0.7134 MB / 0.6203 GB, free: 4.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004454/0.5505, allocations: 1.107 MB / 0.6213 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5505, allocations: 4.781 kB / 0.6213 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5506, allocations: 4 kB / 0.6213 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.5524, allocations: 339.6 kB / 0.6217 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.555, allocations: 1.635 MB / 0.6233 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/0.5558, allocations: 95.42 kB / 0.6234 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.5559, allocations: 20 kB / 0.6234 GB, free: 1.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.5559, allocations: 4 kB / 0.6234 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/0.557, allocations: 0.6069 MB / 0.624 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.557, allocations: 7.984 kB / 0.624 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.557, allocations: 4 kB / 0.624 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.5575, allocations: 117.4 kB / 0.6241 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5575, allocations: 13.61 kB / 0.6241 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.5581, allocations: 87.67 kB / 0.6242 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.5582, allocations: 20 kB / 0.6242 GB, free: 0.6367 MB / 494.1 MB 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 () * Number of clocked 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.0004828/0.5587, allocations: 325 kB / 0.6245 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5588, allocations: 75.09 kB / 0.6246 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009995/0.5598, allocations: 0.5132 MB / 0.6251 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5598, allocations: 4 kB / 0.6251 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5598, allocations: 4.891 kB / 0.6251 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008716/0.5607, allocations: 0.7419 MB / 0.6258 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.563, allocations: 1.364 MB / 0.6272 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.563, allocations: 0 / 0.6272 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.5647, allocations: 315.8 kB / 0.6275 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.5647, allocations: 0 / 0.6275 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.5648, allocations: 12.75 kB / 0.6275 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.567, allocations: 1.603 MB / 0.629 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5671, allocations: 3.984 kB / 0.629 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.5685, allocations: 0.9196 MB / 0.6299 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.569, allocations: 204.3 kB / 0.6301 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.5691, allocations: 8 kB / 0.6301 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.5697, allocations: 76.89 kB / 0.6302 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.5698, allocations: 27.97 kB / 0.6302 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.5699, allocations: 23.98 kB / 0.6303 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005692/0.5705, allocations: 431 kB / 0.6307 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5705, allocations: 0 / 0.6307 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0011/0.5716, allocations: 411.2 kB / 0.6311 GB, free: 9.215 MB / 0.4981 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 () * Number of clocked 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.0004671/0.572, allocations: 199 kB / 0.6313 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.5751, allocations: 1.206 MB / 0.6324 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5751, allocations: 0 / 0.6324 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.5779, allocations: 0.5901 MB / 0.633 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.5802, allocations: 427.4 kB / 0.6334 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.5836, allocations: 1.847 MB / 0.6352 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.5843, allocations: 0.9889 MB / 0.6362 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009199/0.5852, allocations: 223.1 kB / 0.6364 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.5854, allocations: 55.44 kB / 0.6365 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.5854, allocations: 0 / 0.6365 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.2059/0.7913, allocations: 14.57 MB / 0.6507 GB, free: 156.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: