Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001187/0.001187, allocations: 183.4 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-master/package.mo): time 0.7046/0.7046, allocations: 133.4 MB / 150.1 MB, free: 11.14 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.455/1.455, allocations: 222.9 MB / 404.7 MB, free: 6.07 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.001363/0.001363, allocations: 107.5 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1756, allocations: 80.42 MB / 0.6421 GB, free: 5.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5704/0.7461, allocations: 184.6 MB / 0.8224 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007928/0.7541, allocations: 4.624 MB / 0.8269 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/0.7551, allocations: 27.81 kB / 0.8269 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.7563, allocations: 350.1 kB / 0.8272 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.7593, allocations: 1.261 MB / 0.8285 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.761, allocations: 0.6834 MB / 0.8291 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00269/0.7637, allocations: 2.744 MB / 0.8318 GB, free: 14.92 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008346/0.7646, allocations: 0.5609 MB / 0.8324 GB, free: 14.35 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.7676, allocations: 0.9655 MB / 0.8333 GB, free: 13.39 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009986/0.7686, allocations: 0.6089 MB / 0.8339 GB, free: 12.79 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.7687, allocations: 39.94 kB / 0.8339 GB, free: 12.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.7713, allocations: 1.555 MB / 0.8355 GB, free: 11.19 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.7716, allocations: 255.3 kB / 0.8357 GB, free: 10.94 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.7721, allocations: 382.1 kB / 0.8361 GB, free: 10.56 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.774, allocations: 1.515 MB / 0.8375 GB, free: 9.043 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.774, allocations: 4 kB / 0.8376 GB, free: 9.039 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.92e-07/0.774, allocations: 0 / 0.8376 GB, free: 9.039 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.774, allocations: 0 / 0.8376 GB, free: 9.039 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.001556/0.7756, allocations: 1.087 MB / 0.8386 GB, free: 7.898 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.7756, allocations: 15.97 kB / 0.8386 GB, free: 7.883 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.7768, allocations: 206.9 kB / 0.8388 GB, free: 7.68 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.7777, allocations: 0.5754 MB / 0.8394 GB, free: 7.066 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.7778, allocations: 38.12 kB / 0.8394 GB, free: 7.031 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.7779, allocations: 59.91 kB / 0.8395 GB, free: 6.973 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.7788, allocations: 0.6244 MB / 0.8401 GB, free: 6.332 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.7788, allocations: 3.984 kB / 0.8401 GB, free: 6.328 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.7789, allocations: 24 kB / 0.8401 GB, free: 6.305 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.7789, allocations: 21.3 kB / 0.8401 GB, free: 6.281 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.7797, allocations: 497 kB / 0.8406 GB, free: 5.793 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.002747/0.7824, allocations: 2.388 MB / 0.8429 GB, free: 3.195 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.783, allocations: 366.8 kB / 0.8433 GB, free: 2.828 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.7833, allocations: 218.5 kB / 0.8435 GB, free: 2.613 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.7839, allocations: 303.2 kB / 0.8438 GB, free: 2.262 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.7839, allocations: 38.56 kB / 0.8438 GB, free: 2.215 MB / 0.573 GB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.7839, allocations: 0 / 0.8438 GB, free: 2.215 MB / 0.573 GB Notification: Performance of matching and sorting (n=36): time 0.001198/0.7851, allocations: 0.5478 MB / 0.8444 GB, free: 1.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.7852, allocations: 59.34 kB / 0.8444 GB, free: 1.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.7858, allocations: 0.4949 MB / 0.8449 GB, free: 1.082 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.7859, allocations: 37.7 kB / 0.8449 GB, free: 1.039 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.7862, allocations: 324.5 kB / 0.8452 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.7863, allocations: 126.2 kB / 0.8454 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.7865, allocations: 86.03 kB / 0.8455 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.7867, allocations: 366.8 kB / 0.8458 GB, free: 140 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.7869, allocations: 150.6 kB / 0.8459 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.7873, allocations: 264.6 kB / 0.8462 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.7879, allocations: 398.3 kB / 0.8466 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7879, allocations: 0 / 0.8466 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007203/0.7886, allocations: 492.8 kB / 0.847 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7886, allocations: 8 kB / 0.8471 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7887, allocations: 0 / 0.8471 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7887, allocations: 4 kB / 0.8471 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.7893, allocations: 107.8 kB / 0.8472 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003805/0.7896, allocations: 0.5979 MB / 0.8477 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.7902, allocations: 59.69 kB / 0.8478 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.7903, allocations: 23.98 kB / 0.8478 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004394/0.7907, allocations: 330.2 kB / 0.8481 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003092/0.791, allocations: 264.4 kB / 0.8484 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00052/0.7916, allocations: 408.4 kB / 0.8488 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.7916, allocations: 0 / 0.8488 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006987/0.7923, allocations: 492.3 kB / 0.8493 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.7923, allocations: 8 kB / 0.8493 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.7923, allocations: 0 / 0.8493 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.7923, allocations: 8.281 kB / 0.8493 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.7926, allocations: 79.91 kB / 0.8493 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7927, allocations: 15.92 kB / 0.8494 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.7932, allocations: 55.72 kB / 0.8494 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.7932, allocations: 16 kB / 0.8494 GB, free: 12.23 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.000147/0.7934, allocations: 204.1 kB / 0.8496 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.7935, allocations: 59.28 kB / 0.8497 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.7942, allocations: 443.5 kB / 0.8501 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.7942, allocations: 4 kB / 0.8501 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7942, allocations: 8 kB / 0.8501 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006183/0.7949, allocations: 0.6572 MB / 0.8508 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.7966, allocations: 1.2 MB / 0.8519 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7966, allocations: 0 / 0.8519 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.7971, allocations: 96.03 kB / 0.852 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.7971, allocations: 7.984 kB / 0.852 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.7972, allocations: 8 kB / 0.852 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003051/0.7975, allocations: 0.5937 MB / 0.8526 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.7975, allocations: 11.95 kB / 0.8526 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006095/0.8036, allocations: 3.839 MB / 0.8564 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.8039, allocations: 180.3 kB / 0.8565 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.804, allocations: 8 kB / 0.8566 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.8044, allocations: 43.91 kB / 0.8566 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.8045, allocations: 27.91 kB / 0.8566 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.8045, allocations: 15.98 kB / 0.8566 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004474/0.805, allocations: 358.8 kB / 0.857 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.805, allocations: 0 / 0.857 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001943/0.807, allocations: 0.5499 MB / 0.8575 GB, free: 3.535 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.0005597/0.8075, allocations: 188.3 kB / 0.8577 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.809, allocations: 0.5937 MB / 0.8583 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8091, allocations: 4.25 kB / 0.8583 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.8094, allocations: 195.7 kB / 0.8585 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.8114, allocations: 358.9 kB / 0.8588 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.8143, allocations: 1.826 MB / 0.8606 GB, free: 344 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.815, allocations: 0.961 MB / 0.8615 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009695/0.816, allocations: 212.9 kB / 0.8617 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.8162, allocations: 51.44 kB / 0.8618 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.283e-06/0.8162, allocations: 0 / 0.8618 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.02146/0.8377, allocations: 12.65 MB / 0.8741 GB, free: 2.582 MB / 0.6042 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)