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.006899/0.006899, allocations: 101.8 kB / 15.73 MB, free: 5.969 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.001233/0.001233, allocations: 197 kB / 16.67 MB, free: 5.906 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7749/0.7749, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 71.83 kB / 0.5814 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4648, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.2065/0.6713, allocations: 186.8 MB / 0.8421 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007609/0.6789, allocations: 4.558 MB / 0.8465 GB, free: 6.234 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.6799, allocations: 31.81 kB / 0.8466 GB, free: 6.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.6811, allocations: 413.5 kB / 0.847 GB, free: 5.797 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.6846, allocations: 1.396 MB / 0.8483 GB, free: 4.395 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.6866, allocations: 0.7672 MB / 0.8491 GB, free: 3.633 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.6896, allocations: 1.968 MB / 0.851 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.6906, allocations: 0.6496 MB / 0.8516 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.6936, allocations: 1.123 MB / 0.8527 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.6948, allocations: 0.5775 MB / 0.8533 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.695, allocations: 64 kB / 0.8534 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.6978, allocations: 1.395 MB / 0.8547 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.6981, allocations: 287.3 kB / 0.855 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.6986, allocations: 418.1 kB / 0.8554 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.7011, allocations: 1.488 MB / 0.8568 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7011, allocations: 4 kB / 0.8568 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7011, allocations: 0 / 0.8568 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.7011, allocations: 0 / 0.8568 GB, free: 11.66 MB / 0.6856 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.001695/0.7028, allocations: 1.09 MB / 0.8579 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7028, allocations: 12.03 kB / 0.8579 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7041, allocations: 198.9 kB / 0.8581 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/0.7051, allocations: 0.6183 MB / 0.8587 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.7051, allocations: 37.31 kB / 0.8588 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.7052, allocations: 59.94 kB / 0.8588 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009446/0.7062, allocations: 0.6167 MB / 0.8594 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.7062, allocations: 7.984 kB / 0.8594 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.7063, allocations: 24 kB / 0.8594 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.7063, allocations: 21.25 kB / 0.8595 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.7071, allocations: 0.4892 MB / 0.8599 GB, free: 8.383 MB / 0.6856 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.003101/0.7102, allocations: 2.388 MB / 0.8623 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.7108, allocations: 355.5 kB / 0.8626 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.7111, allocations: 212.8 kB / 0.8628 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.7117, allocations: 307.2 kB / 0.8631 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7118, allocations: 42.5 kB / 0.8631 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.7118, allocations: 0 / 0.8631 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36): time 0.00121/0.713, allocations: 0.5488 MB / 0.8637 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.713, allocations: 55.41 kB / 0.8637 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.7136, allocations: 0.4951 MB / 0.8642 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.7137, allocations: 33.7 kB / 0.8643 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.7139, allocations: 316.5 kB / 0.8646 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.7141, allocations: 130.1 kB / 0.8647 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.7142, allocations: 86.03 kB / 0.8648 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7144, allocations: 366.8 kB / 0.8651 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.7146, allocations: 154.5 kB / 0.8653 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.715, allocations: 264.6 kB / 0.8655 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.7156, allocations: 414.9 kB / 0.8659 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7156, allocations: 0 / 0.8659 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000682/0.7163, allocations: 473.2 kB / 0.8664 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.7163, allocations: 12.22 kB / 0.8664 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.7163, allocations: 11.88 kB / 0.8664 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7163, allocations: 7.938 kB / 0.8664 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.7169, allocations: 103.9 kB / 0.8665 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004906/0.7174, allocations: 0.5899 MB / 0.8671 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.7178, allocations: 54.89 kB / 0.8671 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.7179, allocations: 20.09 kB / 0.8671 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003984/0.7183, allocations: 328.9 kB / 0.8674 GB, free: 252 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.375/1.093, allocations: 254.9 kB / 0.8677 GB, free: 196.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008541/1.094, allocations: 404.3 kB / 0.8681 GB, free: 196.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/1.094, allocations: 0.8125 kB / 0.8681 GB, free: 196.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001033/1.095, allocations: 483.5 kB / 0.8685 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.095, allocations: 5.875 kB / 0.8685 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.095, allocations: 7.156 kB / 0.8686 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/1.095, allocations: 4.625 kB / 0.8686 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.096, allocations: 90.39 kB / 0.8686 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.096, allocations: 4.891 kB / 0.8686 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/1.096, allocations: 32.75 kB / 0.8687 GB, free: 196.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/1.096, allocations: 17.84 kB / 0.8687 GB, free: 196.4 MB / 0.6856 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.0001564/1.096, allocations: 208.5 kB / 0.8689 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.097, allocations: 60.72 kB / 0.869 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/1.097, allocations: 444 kB / 0.8694 GB, free: 196 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.097, allocations: 4.078 kB / 0.8694 GB, free: 196 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.097, allocations: 0.7812 kB / 0.8694 GB, free: 196 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006369/1.098, allocations: 0.654 MB / 0.87 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/1.1, allocations: 1.213 MB / 0.8712 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.1, allocations: 5.516 kB / 0.8712 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/1.1, allocations: 93.11 kB / 0.8713 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.1, allocations: 4.031 kB / 0.8713 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/1.1, allocations: 13.48 kB / 0.8713 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000194/1.101, allocations: 0.5892 MB / 0.8719 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.101, allocations: 6.078 kB / 0.8719 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/1.102, allocations: 0.7406 MB / 0.8726 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/1.102, allocations: 172.1 kB / 0.8728 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/1.102, allocations: 10.16 kB / 0.8728 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.102, allocations: 17.08 kB / 0.8728 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/1.102, allocations: 27.48 kB / 0.8728 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.102, allocations: 16.16 kB / 0.8728 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004647/1.103, allocations: 357 kB / 0.8732 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/1.103, allocations: 0 / 0.8732 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009895/1.104, allocations: 347.2 kB / 0.8735 GB, free: 193.4 MB / 0.6856 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.0004819/1.104, allocations: 202.4 kB / 0.8737 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001216/1.106, allocations: 0.5861 MB / 0.8743 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.106, allocations: 0.875 kB / 0.8743 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/1.106, allocations: 184.2 kB / 0.8745 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.107, allocations: 367.6 kB / 0.8748 GB, free: 193 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/1.11, allocations: 1.315 MB / 0.8761 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/1.11, allocations: 0.9409 MB / 0.877 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006673/1.111, allocations: 209.8 kB / 0.8772 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.111, allocations: 47.58 kB / 0.8773 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/1.111, allocations: 2.953 kB / 0.8773 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.02379/1.135, allocations: 11.94 MB / 0.8889 GB, free: 186.5 MB / 0.6856 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)