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.001207/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001449/0.001449, allocations: 193.8 kB / 16.13 MB, free: 6.672 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 132.2 MB / 422.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.95 kB / 0.5011 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1627, allocations: 80.21 MB / 0.5794 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5002/0.6629, allocations: 184.5 MB / 0.7596 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008114/0.6711, allocations: 4.63 MB / 0.7642 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.6724, allocations: 27.81 kB / 0.7642 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.6738, allocations: 346.1 kB / 0.7645 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.6773, allocations: 1.265 MB / 0.7658 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.6793, allocations: 0.6814 MB / 0.7664 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003465/0.6828, allocations: 2.746 MB / 0.7691 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.684, allocations: 0.5433 MB / 0.7696 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.6888, allocations: 0.9615 MB / 0.7706 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.6903, allocations: 0.6144 MB / 0.7712 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.6906, allocations: 36 kB / 0.7712 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.6943, allocations: 1.555 MB / 0.7727 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005078/0.6948, allocations: 255.2 kB / 0.773 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.6958, allocations: 390.1 kB / 0.7733 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.6997, allocations: 1.507 MB / 0.7748 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.6997, allocations: 0 / 0.7748 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6997, allocations: 0 / 0.7748 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.097e-05/0.6998, allocations: 4 kB / 0.7748 GB, free: 11.36 MB / 0.5919 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.003002/0.7028, allocations: 1.096 MB / 0.7759 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.7029, allocations: 8.031 kB / 0.7759 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.7046, allocations: 202.9 kB / 0.7761 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.7058, allocations: 0.5754 MB / 0.7767 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.7059, allocations: 45.31 kB / 0.7767 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.706, allocations: 55.91 kB / 0.7767 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.7071, allocations: 0.6245 MB / 0.7774 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.7071, allocations: 4 kB / 0.7774 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.7072, allocations: 23.94 kB / 0.7774 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.7072, allocations: 17.31 kB / 0.7774 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.708, allocations: 0.4892 MB / 0.7779 GB, free: 8.117 MB / 0.5919 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.003085/0.7111, allocations: 2.396 MB / 0.7802 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.7117, allocations: 353.7 kB / 0.7806 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.712, allocations: 208.8 kB / 0.7808 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.7126, allocations: 303.2 kB / 0.781 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7126, allocations: 38.56 kB / 0.7811 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.7127, allocations: 4 kB / 0.7811 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001153/0.7138, allocations: 0.5479 MB / 0.7816 GB, free: 4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.7139, allocations: 59.34 kB / 0.7817 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.7144, allocations: 0.4988 MB / 0.7822 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.7145, allocations: 29.7 kB / 0.7822 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.7147, allocations: 328.5 kB / 0.7825 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7148, allocations: 122.2 kB / 0.7826 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.715, allocations: 90.03 kB / 0.7827 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7151, allocations: 362.8 kB / 0.7831 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.7154, allocations: 154.5 kB / 0.7832 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.7157, allocations: 268.6 kB / 0.7835 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.7163, allocations: 402.9 kB / 0.7838 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7163, allocations: 0 / 0.7838 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007366/0.717, allocations: 485.1 kB / 0.7843 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7171, allocations: 8 kB / 0.7843 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7171, allocations: 0 / 0.7843 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7171, allocations: 8 kB / 0.7843 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.7177, allocations: 112.6 kB / 0.7844 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003656/0.7181, allocations: 0.5859 MB / 0.785 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.7187, allocations: 71.77 kB / 0.7851 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.7188, allocations: 23.94 kB / 0.7851 GB, free: 296 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004399/0.7192, allocations: 331 kB / 0.7854 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000316/0.7195, allocations: 260 kB / 0.7857 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005449/0.7201, allocations: 408.5 kB / 0.786 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.7201, allocations: 6.047 kB / 0.786 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007144/0.7208, allocations: 492.3 kB / 0.7865 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.7208, allocations: 8 kB / 0.7865 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.7209, allocations: 0 / 0.7865 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.83e-06/0.7209, allocations: 4 kB / 0.7865 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.7212, allocations: 96.16 kB / 0.7866 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7213, allocations: 8 kB / 0.7866 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.7218, allocations: 51.72 kB / 0.7867 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.7219, allocations: 24 kB / 0.7867 GB, free: 14.56 MB / 0.6075 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.000156/0.722, allocations: 216 kB / 0.7869 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.7222, allocations: 59.28 kB / 0.787 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.7229, allocations: 434.3 kB / 0.7874 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7229, allocations: 4 kB / 0.7874 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7229, allocations: 0 / 0.7874 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006249/0.7235, allocations: 0.6533 MB / 0.788 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.7253, allocations: 1.207 MB / 0.7892 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7253, allocations: 224 / 0.7892 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.7258, allocations: 99.88 kB / 0.7893 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.7258, allocations: 0 / 0.7893 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.7259, allocations: 16 kB / 0.7893 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/0.7262, allocations: 0.5937 MB / 0.7899 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7262, allocations: 0 / 0.7899 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.7271, allocations: 0.7326 MB / 0.7906 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.7274, allocations: 184.2 kB / 0.7908 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.7275, allocations: 16 kB / 0.7908 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.728, allocations: 35.91 kB / 0.7908 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.728, allocations: 27.97 kB / 0.7909 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.7281, allocations: 15.94 kB / 0.7909 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004/0.7285, allocations: 362.8 kB / 0.7912 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7285, allocations: 0 / 0.7912 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009441/0.7294, allocations: 347.1 kB / 0.7915 GB, free: 9.348 MB / 0.6075 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.0004518/0.7299, allocations: 191.4 kB / 0.7917 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.7311, allocations: 0.5863 MB / 0.7923 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7311, allocations: 0 / 0.7923 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.7314, allocations: 193.4 kB / 0.7925 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.7332, allocations: 365.4 kB / 0.7928 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.7356, allocations: 1.568 MB / 0.7944 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.7362, allocations: 0.9417 MB / 0.7953 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000731/0.7369, allocations: 204.9 kB / 0.7955 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.7371, allocations: 55.44 kB / 0.7955 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of SimCode: time 2.154e-06/0.7371, allocations: 0 / 0.7955 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.02052/0.7576, allocations: 11.47 MB / 0.8067 GB, free: 9.938 MB / 0.6231 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)