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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6892/0.6892, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 403.3 MB, free: 7.023 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 95.77 kB / 484.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1421, allocations: 80.2 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4545/0.5966, allocations: 184.6 MB / 0.8204 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007423/0.6041, allocations: 4.627 MB / 0.8249 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.605, allocations: 27.81 kB / 0.8249 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.6061, allocations: 346.1 kB / 0.8253 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.6094, allocations: 1.265 MB / 0.8265 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.6112, allocations: 0.672 MB / 0.8272 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.6141, allocations: 2.756 MB / 0.8299 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.6149, allocations: 0.5511 MB / 0.8304 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.6181, allocations: 0.9667 MB / 0.8313 GB, free: 15.33 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.6192, allocations: 0.6236 MB / 0.8319 GB, free: 14.7 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.6193, allocations: 36 kB / 0.832 GB, free: 14.67 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.622, allocations: 1.551 MB / 0.8335 GB, free: 13.11 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.6223, allocations: 263.2 kB / 0.8337 GB, free: 12.86 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.6228, allocations: 374.2 kB / 0.8341 GB, free: 12.49 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.6249, allocations: 1.507 MB / 0.8356 GB, free: 10.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.625, allocations: 11.98 kB / 0.8356 GB, free: 10.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.625, allocations: 0 / 0.8356 GB, free: 10.96 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.625, allocations: 4 kB / 0.8356 GB, free: 10.96 MB / 0.573 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.00166/0.6267, allocations: 1.09 MB / 0.8367 GB, free: 9.816 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6267, allocations: 8.031 kB / 0.8367 GB, free: 9.809 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6279, allocations: 206.9 kB / 0.8369 GB, free: 9.605 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.6288, allocations: 0.5715 MB / 0.8374 GB, free: 8.992 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.6288, allocations: 41.31 kB / 0.8375 GB, free: 8.953 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.6289, allocations: 55.91 kB / 0.8375 GB, free: 8.898 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.6299, allocations: 0.6283 MB / 0.8381 GB, free: 8.254 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6299, allocations: 0 / 0.8381 GB, free: 8.254 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.63, allocations: 20 kB / 0.8381 GB, free: 8.234 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.63, allocations: 21.31 kB / 0.8382 GB, free: 8.211 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008062/0.6308, allocations: 0.493 MB / 0.8386 GB, free: 7.715 MB / 0.573 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.002724/0.6335, allocations: 2.384 MB / 0.841 GB, free: 5.125 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.6341, allocations: 354.8 kB / 0.8413 GB, free: 4.77 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.6344, allocations: 216.7 kB / 0.8415 GB, free: 4.555 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/0.6349, allocations: 303.2 kB / 0.8418 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.635, allocations: 38.55 kB / 0.8418 GB, free: 4.156 MB / 0.573 GB Notification: Performance of pre-optimization done (n=36): time 1.813e-06/0.635, allocations: 0 / 0.8418 GB, free: 4.156 MB / 0.573 GB Notification: Performance of matching and sorting (n=36): time 0.001024/0.636, allocations: 0.541 MB / 0.8424 GB, free: 3.609 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.6361, allocations: 67.27 kB / 0.8424 GB, free: 3.531 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.6366, allocations: 0.4988 MB / 0.8429 GB, free: 3.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.6366, allocations: 37.7 kB / 0.843 GB, free: 2.977 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.6369, allocations: 328.5 kB / 0.8433 GB, free: 2.652 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/0.637, allocations: 122.2 kB / 0.8434 GB, free: 2.531 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.6371, allocations: 82.05 kB / 0.8435 GB, free: 2.445 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6373, allocations: 370.8 kB / 0.8438 GB, free: 2.074 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.6375, allocations: 154.5 kB / 0.844 GB, free: 1.922 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.6378, allocations: 260.6 kB / 0.8442 GB, free: 1.625 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.6384, allocations: 403.6 kB / 0.8446 GB, free: 1.203 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.6384, allocations: 0 / 0.8446 GB, free: 1.203 MB / 0.573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000736/0.6391, allocations: 492.8 kB / 0.8451 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6392, allocations: 5.094 kB / 0.8451 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.6392, allocations: 6.109 kB / 0.8451 GB, free: 0.707 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6392, allocations: 4 kB / 0.8451 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.6398, allocations: 103.8 kB / 0.8452 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003705/0.6402, allocations: 0.6057 MB / 0.8458 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.6407, allocations: 63.69 kB / 0.8458 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.6408, allocations: 16 kB / 0.8458 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004196/0.6412, allocations: 328.9 kB / 0.8462 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003149/0.6415, allocations: 256.3 kB / 0.8464 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005256/0.6421, allocations: 416.3 kB / 0.8468 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6421, allocations: 0 / 0.8468 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006788/0.6428, allocations: 496.3 kB / 0.8473 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.6428, allocations: 4 kB / 0.8473 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.6428, allocations: 4.281 kB / 0.8473 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.6428, allocations: 8 kB / 0.8473 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.6431, allocations: 83.91 kB / 0.8474 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6432, allocations: 7.938 kB / 0.8474 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.6437, allocations: 65.67 kB / 0.8474 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.6437, allocations: 16 kB / 0.8475 GB, free: 14.16 MB / 0.5886 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.0001451/0.6439, allocations: 204.8 kB / 0.8477 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.644, allocations: 59.28 kB / 0.8477 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.6447, allocations: 451.8 kB / 0.8481 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6447, allocations: 4 kB / 0.8481 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6447, allocations: 4 kB / 0.8481 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006333/0.6454, allocations: 0.6557 MB / 0.8488 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.6471, allocations: 1.203 MB / 0.85 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6471, allocations: 4 kB / 0.85 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.6476, allocations: 91.89 kB / 0.8501 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6476, allocations: 4 kB / 0.8501 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.6477, allocations: 11.98 kB / 0.8501 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003002/0.648, allocations: 0.5937 MB / 0.8507 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.648, allocations: 8.156 kB / 0.8507 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.654, allocations: 3.831 MB / 0.8544 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.6543, allocations: 180.3 kB / 0.8546 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.6543, allocations: 8 kB / 0.8546 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.6548, allocations: 39.91 kB / 0.8546 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.6548, allocations: 27.91 kB / 0.8546 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.6549, allocations: 16 kB / 0.8547 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003827/0.6553, allocations: 362.8 kB / 0.855 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6553, allocations: 0 / 0.855 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001768/0.6571, allocations: 0.546 MB / 0.8555 GB, free: 5.469 MB / 0.5886 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.0004556/0.6575, allocations: 202.6 kB / 0.8557 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.6587, allocations: 0.5829 MB / 0.8563 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6587, allocations: 8.312 kB / 0.8563 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.659, allocations: 195.7 kB / 0.8565 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.6608, allocations: 356.9 kB / 0.8568 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.6632, allocations: 1.835 MB / 0.8586 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.6637, allocations: 0.957 MB / 0.8596 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007163/0.6644, allocations: 212.9 kB / 0.8598 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.6646, allocations: 47.44 kB / 0.8598 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.6646, allocations: 0 / 0.8598 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of Templates: time 0.02058/0.6852, allocations: 12.65 MB / 0.8722 GB, free: 4.508 MB / 0.6042 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)