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.006247/0.006247, allocations: 94.7 kB / 15.73 MB, free: 6.039 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.001229/0.001229, allocations: 200.5 kB / 16.68 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7657/0.7657, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 58.94 kB / 0.5814 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.21 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5707/0.7395, allocations: 186.8 MB / 0.8421 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00761/0.7472, allocations: 4.557 MB / 0.8465 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.7485, allocations: 31.91 kB / 0.8466 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.7497, allocations: 413.8 kB / 0.847 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.7528, allocations: 1.338 MB / 0.8483 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.7547, allocations: 0.7579 MB / 0.849 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.7566, allocations: 1.967 MB / 0.8509 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.7574, allocations: 0.6555 MB / 0.8516 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.7599, allocations: 1.076 MB / 0.8526 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.7607, allocations: 0.5917 MB / 0.8532 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.7608, allocations: 63.06 kB / 0.8533 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.7635, allocations: 1.39 MB / 0.8546 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.7637, allocations: 282.2 kB / 0.8549 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.7641, allocations: 418.4 kB / 0.8553 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.766, allocations: 1.485 MB / 0.8567 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.766, allocations: 0 / 0.8567 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.924e-06/0.766, allocations: 0.9375 kB / 0.8567 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.766, allocations: 0 / 0.8567 GB, free: 2.531 MB / 0.6387 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.001276/0.7673, allocations: 1.123 MB / 0.8578 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.7673, allocations: 10.78 kB / 0.8578 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7685, allocations: 211.8 kB / 0.858 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.7693, allocations: 0.6184 MB / 0.8586 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.7693, allocations: 42.88 kB / 0.8587 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.7694, allocations: 57.48 kB / 0.8587 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.7702, allocations: 0.6196 MB / 0.8593 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.7702, allocations: 0 / 0.8593 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.7703, allocations: 22.47 kB / 0.8594 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.7703, allocations: 25.33 kB / 0.8594 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.771, allocations: 0.4894 MB / 0.8599 GB, free: 1.422 MB / 0.6387 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.00226/0.7732, allocations: 2.395 MB / 0.8622 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.7737, allocations: 350.7 kB / 0.8625 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.7739, allocations: 206.9 kB / 0.8627 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.7745, allocations: 312.9 kB / 0.863 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7745, allocations: 37.5 kB / 0.8631 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 3.296e-06/0.7745, allocations: 3.984 kB / 0.8631 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.0009927/0.7755, allocations: 0.5491 MB / 0.8636 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.7756, allocations: 57.31 kB / 0.8637 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.7761, allocations: 0.5037 MB / 0.8642 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.7761, allocations: 32.11 kB / 0.8642 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.7763, allocations: 322.1 kB / 0.8645 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.7765, allocations: 141.2 kB / 0.8646 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.7766, allocations: 88.7 kB / 0.8647 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.7769, allocations: 370.8 kB / 0.8651 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.7771, allocations: 150.7 kB / 0.8652 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.7775, allocations: 265.7 kB / 0.8655 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.7781, allocations: 410.1 kB / 0.8659 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.7781, allocations: 2.562 kB / 0.8659 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007628/0.7789, allocations: 483.7 kB / 0.8663 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.7789, allocations: 6.438 kB / 0.8663 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.779, allocations: 2.781 kB / 0.8663 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.779, allocations: 5 kB / 0.8663 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.7796, allocations: 102.3 kB / 0.8664 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000457/0.7801, allocations: 0.6024 MB / 0.867 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.7806, allocations: 40.3 kB / 0.8671 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.7806, allocations: 22.86 kB / 0.8671 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004837/0.7811, allocations: 324.6 kB / 0.8674 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000304/0.7814, allocations: 261.7 kB / 0.8676 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005067/0.7819, allocations: 404.5 kB / 0.868 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.782, allocations: 0 / 0.868 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006196/0.7826, allocations: 493.9 kB / 0.8685 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.7826, allocations: 5.906 kB / 0.8685 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7826, allocations: 1.781 kB / 0.8685 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.7826, allocations: 7.344 kB / 0.8685 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.7829, allocations: 88.52 kB / 0.8686 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.783, allocations: 13.31 kB / 0.8686 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.7834, allocations: 43.3 kB / 0.8687 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.7834, allocations: 17.09 kB / 0.8687 GB, free: 13.63 MB / 0.6544 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.0002029/0.7836, allocations: 197.3 kB / 0.8689 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.7838, allocations: 66.75 kB / 0.8689 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/0.7845, allocations: 446.9 kB / 0.8693 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.7845, allocations: 5.641 kB / 0.8694 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7845, allocations: 0.7812 kB / 0.8694 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000646/0.7851, allocations: 0.6572 MB / 0.87 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.7867, allocations: 1.197 MB / 0.8712 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7867, allocations: 3.469 kB / 0.8712 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.7872, allocations: 92.69 kB / 0.8713 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7872, allocations: 5.719 kB / 0.8713 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.7872, allocations: 12.81 kB / 0.8713 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003326/0.7875, allocations: 0.5955 MB / 0.8719 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7876, allocations: 6.375 kB / 0.8719 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.7884, allocations: 0.7403 MB / 0.8726 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.7886, allocations: 180.3 kB / 0.8728 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.7887, allocations: 7.438 kB / 0.8728 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.789, allocations: 18.92 kB / 0.8728 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.7891, allocations: 20.58 kB / 0.8728 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.7891, allocations: 17.53 kB / 0.8728 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003636/0.7895, allocations: 361.4 kB / 0.8732 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7895, allocations: 0 / 0.8732 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008593/0.7904, allocations: 346.2 kB / 0.8735 GB, free: 11.47 MB / 0.6544 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.0004635/0.7908, allocations: 199.9 kB / 0.8737 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.7919, allocations: 0.5987 MB / 0.8743 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7919, allocations: 0 / 0.8743 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.7922, allocations: 185.5 kB / 0.8744 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.7938, allocations: 373.6 kB / 0.8748 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.796, allocations: 1.343 MB / 0.8761 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.7965, allocations: 0.9397 MB / 0.877 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006548/0.7972, allocations: 207.8 kB / 0.8772 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.7973, allocations: 48.95 kB / 0.8773 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/0.7974, allocations: 1.812 kB / 0.8773 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.02151/0.8189, allocations: 11.92 MB / 0.8889 GB, free: 7.082 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)