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.001054/0.001054, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008989/0.008989, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.3 MB / 423.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004001, allocations: 11.98 kB / 0.504 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4773, allocations: 81.58 MB / 0.5837 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.2352/0.7125, allocations: 182.1 MB / 0.7615 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008714/0.7213, allocations: 4.574 MB / 0.766 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.7226, allocations: 31.81 kB / 0.766 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.7239, allocations: 342.1 kB / 0.7663 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.7277, allocations: 1.267 MB / 0.7676 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.7298, allocations: 0.6762 MB / 0.7682 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003492/0.7333, allocations: 2.744 MB / 0.7709 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.7343, allocations: 0.5349 MB / 0.7714 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.7378, allocations: 0.9491 MB / 0.7724 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.7392, allocations: 0.592 MB / 0.7729 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.7394, allocations: 31.94 kB / 0.773 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.7424, allocations: 1.547 MB / 0.7745 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.7428, allocations: 247.3 kB / 0.7747 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009742/0.7438, allocations: 395.8 kB / 0.7751 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003486/0.7473, allocations: 1.499 MB / 0.7766 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7473, allocations: 0 / 0.7766 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.166e-06/0.7474, allocations: 0 / 0.7766 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.862e-05/0.7474, allocations: 0 / 0.7766 GB, free: 10.34 MB / 0.6075 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.002158/0.7496, allocations: 0.9466 MB / 0.7775 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.7496, allocations: 15.97 kB / 0.7775 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.7513, allocations: 202.9 kB / 0.7777 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.7526, allocations: 0.5832 MB / 0.7783 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.7527, allocations: 41.31 kB / 0.7783 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.7528, allocations: 63.88 kB / 0.7784 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.754, allocations: 0.6206 MB / 0.779 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.754, allocations: 0 / 0.779 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.7541, allocations: 28 kB / 0.779 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.7541, allocations: 17.31 kB / 0.779 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.755, allocations: 493 kB / 0.7795 GB, free: 7.238 MB / 0.6075 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.003407/0.7584, allocations: 2.396 MB / 0.7818 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.759, allocations: 354.8 kB / 0.7822 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.7593, allocations: 201.4 kB / 0.7824 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.7599, allocations: 323.2 kB / 0.7827 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.76, allocations: 42.42 kB / 0.7827 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.605e-06/0.76, allocations: 4 kB / 0.7827 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001179/0.7611, allocations: 0.5435 MB / 0.7832 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.7612, allocations: 55.41 kB / 0.7833 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.7618, allocations: 0.495 MB / 0.7838 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.7619, allocations: 33.7 kB / 0.7838 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.7621, allocations: 328.5 kB / 0.7841 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.7623, allocations: 130.1 kB / 0.7842 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.7624, allocations: 37.7 kB / 0.7843 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000237/0.7626, allocations: 370.8 kB / 0.7846 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.7629, allocations: 140.8 kB / 0.7848 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.7632, allocations: 260.6 kB / 0.785 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.7639, allocations: 410.8 kB / 0.7854 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7639, allocations: 4 kB / 0.7854 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000821/0.7647, allocations: 489.3 kB / 0.7859 GB, free: 280 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.7648, allocations: 157.1 kB / 0.786 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7648, allocations: 7.938 kB / 0.786 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.7649, allocations: 4 kB / 0.786 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.7655, allocations: 99.95 kB / 0.7861 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003862/0.7659, allocations: 0.5938 MB / 0.7867 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.7665, allocations: 71.59 kB / 0.7868 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.7666, allocations: 23.92 kB / 0.7868 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.7666, allocations: 7.938 kB / 0.7868 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006495/0.7673, allocations: 399.5 kB / 0.7872 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7673, allocations: 0 / 0.7872 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.7673, allocations: 4 kB / 0.7872 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.7676, allocations: 96.17 kB / 0.7873 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7677, allocations: 4 kB / 0.7873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.7683, allocations: 59.56 kB / 0.7873 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.7683, allocations: 20 kB / 0.7874 GB, free: 14.68 MB / 0.6231 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.0003681/0.7687, allocations: 304.9 kB / 0.7877 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7688, allocations: 59.28 kB / 0.7877 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.7696, allocations: 446.2 kB / 0.7881 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.7696, allocations: 0 / 0.7881 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7696, allocations: 11.94 kB / 0.7882 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00063/0.7702, allocations: 0.6495 MB / 0.7888 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.7721, allocations: 1.203 MB / 0.79 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7721, allocations: 4.219 kB / 0.79 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.7726, allocations: 91.89 kB / 0.7901 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.7726, allocations: 4 kB / 0.7901 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.7727, allocations: 11.94 kB / 0.7901 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000336/0.773, allocations: 0.5976 MB / 0.7907 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.773, allocations: 0 / 0.7907 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009556/0.774, allocations: 0.7442 MB / 0.7914 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.7743, allocations: 188.2 kB / 0.7916 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7744, allocations: 8 kB / 0.7916 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.775, allocations: 44.02 kB / 0.7916 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.775, allocations: 27.91 kB / 0.7916 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.7751, allocations: 16 kB / 0.7916 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005414/0.7756, allocations: 358.8 kB / 0.792 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7756, allocations: 3.938 kB / 0.792 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001211/0.7769, allocations: 347.1 kB / 0.7923 GB, free: 9.344 MB / 0.6231 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.0006487/0.7775, allocations: 189.8 kB / 0.7925 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.7788, allocations: 0.5857 MB / 0.7931 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7788, allocations: 0 / 0.7931 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.7792, allocations: 190.8 kB / 0.7933 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.7813, allocations: 372.5 kB / 0.7936 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.7839, allocations: 1.656 MB / 0.7952 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.7846, allocations: 0.9378 MB / 0.7961 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008063/0.7854, allocations: 208.9 kB / 0.7963 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.7855, allocations: 51.42 kB / 0.7964 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.7855, allocations: 3.938 kB / 0.7964 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of Templates: time 0.02291/0.8085, allocations: 11.39 MB / 0.8075 GB, free: 9.906 MB / 0.6387 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)