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.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001736, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.563/1.563, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.424/0.424, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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.001754/0.001754, allocations: 67.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1448, allocations: 59.59 MB / 454.9 MB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MassFraction): time 0.4761/0.6209, allocations: 186.7 MB / 0.6266 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007328/0.6282, allocations: 4.364 MB / 0.6309 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.6292, allocations: 31.81 kB / 0.6309 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.6306, allocations: 493.1 kB / 0.6314 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.6336, allocations: 1.21 MB / 0.6326 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.6358, allocations: 0.8531 MB / 0.6334 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002921/0.6387, allocations: 2.335 MB / 0.6357 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009928/0.6398, allocations: 0.7141 MB / 0.6364 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.6422, allocations: 1.199 MB / 0.6376 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.6436, allocations: 0.6834 MB / 0.6382 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.6438, allocations: 84 kB / 0.6383 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3576/1.001, allocations: 1.063 MB / 0.6393 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006738/1.002, allocations: 366.2 kB / 0.6397 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008094/1.003, allocations: 0.5025 MB / 0.6402 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/1.005, allocations: 1.604 MB / 0.6417 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.005, allocations: 3.375 kB / 0.6417 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.005, allocations: 0.6562 kB / 0.6417 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.778e-05/1.005, allocations: 0.5312 kB / 0.6418 GB, free: 4.762 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.002638/1.008, allocations: 1.259 MB / 0.643 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/1.008, allocations: 11.72 kB / 0.643 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/1.009, allocations: 182.6 kB / 0.6432 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.011, allocations: 0.6034 MB / 0.6438 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/1.011, allocations: 52.41 kB / 0.6438 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.011, allocations: 66.78 kB / 0.6439 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/1.013, allocations: 0.8085 MB / 0.6447 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.013, allocations: 0.75 kB / 0.6447 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/1.013, allocations: 31.31 kB / 0.6447 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/1.013, allocations: 28.59 kB / 0.6447 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/1.014, allocations: 0.6538 MB / 0.6454 GB, free: 3.676 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.00394/1.018, allocations: 2.843 MB / 0.6481 GB, free: 18.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.019, allocations: 469.2 kB / 0.6486 GB, free: 18.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/1.02, allocations: 238.5 kB / 0.6488 GB, free: 18.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/1.02, allocations: 122.8 kB / 0.6489 GB, free: 18.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.02, allocations: 37.52 kB / 0.649 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/1.02, allocations: 1.062 kB / 0.649 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.001636/1.022, allocations: 0.6676 MB / 0.6496 GB, free: 17.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.022, allocations: 57.16 kB / 0.6497 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/1.022, allocations: 0.6055 MB / 0.6503 GB, free: 17.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/1.022, allocations: 38.3 kB / 0.6503 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/1.023, allocations: 355.9 kB / 0.6506 GB, free: 17.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.023, allocations: 149.8 kB / 0.6508 GB, free: 17.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/1.023, allocations: 106.2 kB / 0.6509 GB, free: 17.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.023, allocations: 375.7 kB / 0.6512 GB, free: 17.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/1.024, allocations: 216.7 kB / 0.6514 GB, free: 17.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/1.024, allocations: 328.8 kB / 0.6518 GB, free: 17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/1.025, allocations: 0.5676 MB / 0.6523 GB, free: 16.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.025, allocations: 0 / 0.6523 GB, free: 16.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001228/1.026, allocations: 0.7081 MB / 0.653 GB, free: 16.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/1.026, allocations: 67.92 kB / 0.6531 GB, free: 16.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/1.026, allocations: 4.781 kB / 0.6531 GB, free: 16.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.026, allocations: 5.281 kB / 0.6531 GB, free: 16.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.028, allocations: 274 kB / 0.6533 GB, free: 16.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/1.03, allocations: 1.653 MB / 0.655 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/1.031, allocations: 68.78 kB / 0.655 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/1.031, allocations: 26.75 kB / 0.655 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005997/1.032, allocations: 399.7 kB / 0.6554 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004044/1.032, allocations: 316.3 kB / 0.6557 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007432/1.033, allocations: 0.5466 MB / 0.6563 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/1.033, allocations: 2.719 kB / 0.6563 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001134/1.034, allocations: 0.6803 MB / 0.6569 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/1.034, allocations: 61.66 kB / 0.657 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.034, allocations: 4.188 kB / 0.657 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.034, allocations: 9.094 kB / 0.657 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/1.034, allocations: 114.5 kB / 0.6571 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.034, allocations: 7.047 kB / 0.6571 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/1.035, allocations: 50.23 kB / 0.6572 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/1.035, allocations: 22.25 kB / 0.6572 GB, free: 14.61 MB / 0.5137 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.0002528/1.035, allocations: 210.1 kB / 0.6574 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/1.035, allocations: 65.59 kB / 0.6574 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/1.036, allocations: 0.5245 MB / 0.658 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.037, allocations: 3.531 kB / 0.658 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.037, allocations: 6.031 kB / 0.658 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009882/1.038, allocations: 0.7278 MB / 0.6587 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/1.04, allocations: 1.354 MB / 0.66 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.04, allocations: 3 kB / 0.66 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.041, allocations: 249.1 kB / 0.6602 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.041, allocations: 3.469 kB / 0.6602 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/1.042, allocations: 8.625 kB / 0.6603 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/1.044, allocations: 1.623 MB / 0.6618 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.044, allocations: 4.938 kB / 0.6618 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/1.046, allocations: 0.8375 MB / 0.6627 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/1.046, allocations: 207.4 kB / 0.6629 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/1.046, allocations: 10.56 kB / 0.6629 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/1.046, allocations: 32.02 kB / 0.6629 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/1.047, allocations: 28.92 kB / 0.6629 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/1.047, allocations: 27.09 kB / 0.663 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006267/1.047, allocations: 441.1 kB / 0.6634 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/1.047, allocations: 0 / 0.6634 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001429/1.049, allocations: 412.4 kB / 0.6638 GB, free: 11.62 MB / 0.5137 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.0006221/1.049, allocations: 194.9 kB / 0.664 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003444/1.053, allocations: 1.191 MB / 0.6651 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.053, allocations: 1.656 kB / 0.6651 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002736/1.056, allocations: 0.5117 MB / 0.6656 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.058, allocations: 439.9 kB / 0.666 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/1.061, allocations: 1.531 MB / 0.6675 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/1.062, allocations: 0.9726 MB / 0.6685 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009695/1.063, allocations: 213.8 kB / 0.6687 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/1.063, allocations: 55.17 kB / 0.6687 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/1.063, allocations: 1.312 kB / 0.6687 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of Templates: time 0.02949/1.093, allocations: 15.7 MB / 0.6841 GB, free: 7.629 MB / 0.5137 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)