Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001076/0.001076, allocations: 105.8 kB / 16.41 MB, free: 6.41 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.001269/0.001269, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7954/0.7954, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 70.86 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1577, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.594/0.7518, allocations: 186.8 MB / 0.8427 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007672/0.7595, allocations: 4.572 MB / 0.8472 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7606, allocations: 32.25 kB / 0.8472 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.762, allocations: 403 kB / 0.8476 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.7655, allocations: 1.346 MB / 0.8489 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.7675, allocations: 0.7564 MB / 0.8497 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.77, allocations: 1.956 MB / 0.8516 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009968/0.771, allocations: 0.6573 MB / 0.8522 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.7742, allocations: 1.102 MB / 0.8533 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.7753, allocations: 0.5813 MB / 0.8539 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.7755, allocations: 64.91 kB / 0.8539 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.7782, allocations: 1.382 MB / 0.8553 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.7786, allocations: 284.2 kB / 0.8555 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.7793, allocations: 418 kB / 0.8559 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.7818, allocations: 1.479 MB / 0.8574 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7818, allocations: 2.531 kB / 0.8574 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7818, allocations: 0 / 0.8574 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.7818, allocations: 4 kB / 0.8574 GB, free: 11.64 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002024/0.7839, allocations: 1.104 MB / 0.8585 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7839, allocations: 7.875 kB / 0.8585 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.7853, allocations: 201.6 kB / 0.8587 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.7864, allocations: 0.6152 MB / 0.8593 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.7865, allocations: 41.31 kB / 0.8593 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.7866, allocations: 56 kB / 0.8594 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.7877, allocations: 0.6167 MB / 0.86 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.7877, allocations: 0 / 0.86 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.7877, allocations: 27.98 kB / 0.86 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.7878, allocations: 17.31 kB / 0.86 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.7886, allocations: 0.493 MB / 0.8605 GB, free: 8.832 MB / 0.6231 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.003077/0.7917, allocations: 2.392 MB / 0.8628 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.7923, allocations: 366.7 kB / 0.8632 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.7926, allocations: 212.8 kB / 0.8634 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/0.7932, allocations: 303.2 kB / 0.8637 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.7932, allocations: 38.19 kB / 0.8637 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.7932, allocations: 0 / 0.8637 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.001151/0.7944, allocations: 0.5567 MB / 0.8643 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.7944, allocations: 55.41 kB / 0.8643 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.795, allocations: 0.4989 MB / 0.8648 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.7951, allocations: 37.7 kB / 0.8648 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.7953, allocations: 320.5 kB / 0.8651 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.7955, allocations: 122.1 kB / 0.8652 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.7956, allocations: 90.03 kB / 0.8653 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7958, allocations: 362.8 kB / 0.8657 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.796, allocations: 154.5 kB / 0.8658 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.7964, allocations: 264.6 kB / 0.8661 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.797, allocations: 406.2 kB / 0.8665 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.797, allocations: 0 / 0.8665 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007513/0.7977, allocations: 481.2 kB / 0.8669 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7977, allocations: 8 kB / 0.8669 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7978, allocations: 0 / 0.8669 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7978, allocations: 7.938 kB / 0.8669 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.7984, allocations: 107.8 kB / 0.867 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004074/0.7988, allocations: 0.5918 MB / 0.8676 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.7994, allocations: 47.52 kB / 0.8677 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.7994, allocations: 19.94 kB / 0.8677 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004851/0.7999, allocations: 328.9 kB / 0.868 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000328/0.8003, allocations: 260.4 kB / 0.8682 GB, free: 408 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005418/0.8008, allocations: 400.6 kB / 0.8686 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.8008, allocations: 3.938 kB / 0.8686 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007279/0.8016, allocations: 0.4925 MB / 0.8691 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.8016, allocations: 4 kB / 0.8691 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8016, allocations: 4 kB / 0.8691 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.8016, allocations: 4 kB / 0.8691 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.802, allocations: 79.91 kB / 0.8692 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.802, allocations: 4 kB / 0.8692 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.8025, allocations: 38.41 kB / 0.8692 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.8025, allocations: 20 kB / 0.8693 GB, free: 15.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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 prepare postOptimizeDAE: time 0.0001694/0.8027, allocations: 220 kB / 0.8695 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8028, allocations: 55.34 kB / 0.8695 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.8035, allocations: 440.3 kB / 0.8699 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.8036, allocations: 4 kB / 0.87 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8036, allocations: 0 / 0.87 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006343/0.8042, allocations: 0.6572 MB / 0.8706 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.8059, allocations: 1.202 MB / 0.8718 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8059, allocations: 0 / 0.8718 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.8064, allocations: 105.4 kB / 0.8719 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.8064, allocations: 4 kB / 0.8719 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.8064, allocations: 8 kB / 0.8719 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003323/0.8068, allocations: 0.5937 MB / 0.8725 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8068, allocations: 4.031 kB / 0.8725 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009394/0.8077, allocations: 0.7431 MB / 0.8732 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.808, allocations: 180.4 kB / 0.8734 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.8081, allocations: 12 kB / 0.8734 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.8085, allocations: 12 kB / 0.8734 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.8086, allocations: 19.97 kB / 0.8734 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.8086, allocations: 23.92 kB / 0.8734 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004065/0.809, allocations: 354.8 kB / 0.8738 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.809, allocations: 0 / 0.8738 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009724/0.81, allocations: 351.1 kB / 0.8741 GB, free: 10.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (35): * Single equations (assignments): 34 * 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.0004636/0.8105, allocations: 203.8 kB / 0.8743 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.8116, allocations: 0.5901 MB / 0.8749 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8117, allocations: 0 / 0.8749 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.812, allocations: 188.9 kB / 0.875 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.8136, allocations: 355.4 kB / 0.8754 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.8158, allocations: 1.374 MB / 0.8767 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.8163, allocations: 0.9414 MB / 0.8776 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.8165, allocations: 51.44 kB / 0.8777 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.8165, allocations: 0 / 0.8777 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of Templates: time 0.02003/0.8366, allocations: 12.73 MB / 0.8901 GB, free: 9.73 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)