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.000913/0.0009129, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005878/0.005878, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4235/0.4235, allocations: 55.01 MB / 325.8 MB, free: 0.5898 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.0005414/0.0005415, allocations: 20 kB / 397.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3744, allocations: 60.72 MB / 458 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MassFraction): time 0.2019/0.5764, allocations: 182.1 MB / 0.6251 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006859/0.5833, allocations: 4.396 MB / 0.6294 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008298/0.5842, allocations: 23.81 kB / 0.6294 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5856, allocations: 425.9 kB / 0.6298 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.5887, allocations: 1.151 MB / 0.6309 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.5912, allocations: 0.7692 MB / 0.6317 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.5958, allocations: 3.267 MB / 0.6348 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.5971, allocations: 0.5746 MB / 0.6354 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.5999, allocations: 1.054 MB / 0.6364 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.6018, allocations: 0.6975 MB / 0.6371 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.602, allocations: 36 kB / 0.6372 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.6043, allocations: 1.126 MB / 0.6383 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005104/0.6048, allocations: 315.1 kB / 0.6386 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008323/0.6057, allocations: 479.6 kB / 0.639 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.6079, allocations: 1.604 MB / 0.6406 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.608, allocations: 0 / 0.6406 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.608, allocations: 0 / 0.6406 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.265e-05/0.608, allocations: 0 / 0.6406 GB, free: 0.8242 MB / 0.4981 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.2452/0.8532, allocations: 1.067 MB / 0.6416 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.8532, allocations: 10.2 kB / 0.6416 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.8547, allocations: 187.1 kB / 0.6418 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.8557, allocations: 0.6076 MB / 0.6424 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.8558, allocations: 47.22 kB / 0.6424 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.8559, allocations: 72.78 kB / 0.6425 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.8574, allocations: 0.8173 MB / 0.6433 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.8574, allocations: 3.938 kB / 0.6433 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.8575, allocations: 34 kB / 0.6433 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.8575, allocations: 24.33 kB / 0.6434 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.8587, allocations: 0.668 MB / 0.644 GB, free: 162.4 MB / 0.4981 GB 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.003097/0.8618, allocations: 2.823 MB / 0.6468 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.8627, allocations: 473.7 kB / 0.6472 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.863, allocations: 230.2 kB / 0.6475 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.8634, allocations: 136.7 kB / 0.6476 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.8634, allocations: 45.14 kB / 0.6476 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.965e-06/0.8634, allocations: 0 / 0.6476 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.001617/0.865, allocations: 0.6892 MB / 0.6483 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.8651, allocations: 58.41 kB / 0.6484 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.8657, allocations: 0.5993 MB / 0.6489 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.8658, allocations: 35.95 kB / 0.649 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.866, allocations: 359.8 kB / 0.6493 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.8661, allocations: 143.1 kB / 0.6495 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.8661, allocations: 51.27 kB / 0.6495 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.8662, allocations: 371.7 kB / 0.6499 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.8666, allocations: 214.6 kB / 0.6501 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.867, allocations: 335.2 kB / 0.6504 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.8679, allocations: 0.5751 MB / 0.6509 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8679, allocations: 6.906 kB / 0.651 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001086/0.869, allocations: 0.7066 MB / 0.6516 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/0.8691, allocations: 229.9 kB / 0.6519 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8691, allocations: 4.328 kB / 0.6519 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8692, allocations: 4.938 kB / 0.6519 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.8708, allocations: 340.3 kB / 0.6522 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.8729, allocations: 1.622 MB / 0.6538 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.8737, allocations: 98.5 kB / 0.6539 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.8738, allocations: 23.77 kB / 0.6539 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.8738, allocations: 4.875 kB / 0.6539 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009283/0.8747, allocations: 0.6114 MB / 0.6545 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.8747, allocations: 3.906 kB / 0.6545 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.8748, allocations: 5.938 kB / 0.6545 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.8752, allocations: 114.8 kB / 0.6546 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8752, allocations: 8.938 kB / 0.6546 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.8758, allocations: 85 kB / 0.6547 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.8758, allocations: 21.84 kB / 0.6547 GB, free: 157.2 MB / 0.4981 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 (senMasFra1.i_x,senMasFra2.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.8763, allocations: 325 kB / 0.655 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.8764, allocations: 82.03 kB / 0.6551 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009263/0.8773, allocations: 0.5229 MB / 0.6556 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.8774, allocations: 2.562 kB / 0.6556 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8774, allocations: 1.062 kB / 0.6556 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007117/0.8781, allocations: 0.7277 MB / 0.6563 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.88, allocations: 1.374 MB / 0.6577 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.88, allocations: 3.141 kB / 0.6577 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.8815, allocations: 304.7 kB / 0.658 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.8815, allocations: 5.234 kB / 0.658 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.8815, allocations: 14.53 kB / 0.658 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.8833, allocations: 1.592 MB / 0.6595 GB, free: 154 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8833, allocations: 0 / 0.6595 GB, free: 154 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.8844, allocations: 0.8496 MB / 0.6604 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.8847, allocations: 207.6 kB / 0.6606 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.8848, allocations: 13.47 kB / 0.6606 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.8854, allocations: 67.81 kB / 0.6607 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.8855, allocations: 32.5 kB / 0.6607 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.8856, allocations: 20.23 kB / 0.6607 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004237/0.886, allocations: 438 kB / 0.6611 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.886, allocations: 0 / 0.6611 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001103/0.8871, allocations: 417.8 kB / 0.6615 GB, free: 153.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005108/0.8876, allocations: 193.8 kB / 0.6617 GB, free: 153 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002774/0.8904, allocations: 1.212 MB / 0.6629 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8904, allocations: 0 / 0.6629 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.8929, allocations: 0.5984 MB / 0.6635 GB, free: 152.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8952, allocations: 433.7 kB / 0.6639 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.8976, allocations: 1.906 MB / 0.6657 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.898, allocations: 0.9687 MB / 0.6667 GB, free: 150.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008679/0.8989, allocations: 217.3 kB / 0.6669 GB, free: 150.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.8991, allocations: 57.23 kB / 0.667 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.8991, allocations: 0 / 0.667 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.029/0.9281, allocations: 15.09 MB / 0.6817 GB, free: 148.2 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: