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.001474/0.001474, allocations: 108.1 kB / 16.41 MB, free: 6.453 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.001659/0.001659, allocations: 187 kB / 17.34 MB, free: 5.719 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.829/0.829, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 68.47 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1805, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.6138/0.7944, allocations: 186.8 MB / 0.8427 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008699/0.8032, allocations: 4.561 MB / 0.8472 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.8048, allocations: 32.25 kB / 0.8472 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.8065, allocations: 407.1 kB / 0.8476 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.8114, allocations: 1.35 MB / 0.8489 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.814, allocations: 0.7566 MB / 0.8497 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.8174, allocations: 1.955 MB / 0.8516 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.8188, allocations: 0.6601 MB / 0.8522 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.8225, allocations: 1.093 MB / 0.8533 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.8239, allocations: 0.5837 MB / 0.8539 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.8242, allocations: 63.22 kB / 0.8539 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.8273, allocations: 1.387 MB / 0.8553 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.8278, allocations: 284.5 kB / 0.8555 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009366/0.8287, allocations: 421.4 kB / 0.8559 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003452/0.8322, allocations: 1.48 MB / 0.8574 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8322, allocations: 0 / 0.8574 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8322, allocations: 0 / 0.8574 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.5e-05/0.8323, allocations: 3.031 kB / 0.8574 GB, free: 11.78 MB / 0.6231 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.002571/0.8349, allocations: 1.1 MB / 0.8585 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8349, allocations: 10.06 kB / 0.8585 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.8364, allocations: 205.7 kB / 0.8587 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.8377, allocations: 0.6155 MB / 0.8593 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.8377, allocations: 41.53 kB / 0.8593 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.8379, allocations: 52 kB / 0.8594 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.8391, allocations: 0.6245 MB / 0.86 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.8392, allocations: 0 / 0.86 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.8392, allocations: 27.92 kB / 0.86 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.8393, allocations: 21.31 kB / 0.86 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.8402, allocations: 497 kB / 0.8605 GB, free: 9.051 MB / 0.6231 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.003661/0.8439, allocations: 2.393 MB / 0.8628 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.8445, allocations: 360 kB / 0.8632 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.8448, allocations: 216.8 kB / 0.8634 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.8454, allocations: 299.2 kB / 0.8637 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.8454, allocations: 42.5 kB / 0.8637 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.305e-06/0.8455, allocations: 0 / 0.8637 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.001266/0.8467, allocations: 0.5528 MB / 0.8642 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.8468, allocations: 55.41 kB / 0.8643 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.8475, allocations: 0.4989 MB / 0.8648 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.8475, allocations: 37.7 kB / 0.8648 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.8478, allocations: 316.5 kB / 0.8651 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.848, allocations: 130.1 kB / 0.8653 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.8481, allocations: 86.05 kB / 0.8653 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.8483, allocations: 370.8 kB / 0.8657 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.8486, allocations: 150.5 kB / 0.8658 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.8489, allocations: 264.6 kB / 0.8661 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.8495, allocations: 402.2 kB / 0.8665 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8495, allocations: 4 kB / 0.8665 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007931/0.8503, allocations: 485.2 kB / 0.8669 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8503, allocations: 11.94 kB / 0.8669 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8503, allocations: 4 kB / 0.8669 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.8504, allocations: 7.938 kB / 0.867 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.851, allocations: 103.8 kB / 0.8671 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004738/0.8515, allocations: 0.5938 MB / 0.8676 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.8521, allocations: 43.62 kB / 0.8677 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.8521, allocations: 25.47 kB / 0.8677 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004707/0.8526, allocations: 320.9 kB / 0.868 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003464/0.853, allocations: 268.3 kB / 0.8683 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005582/0.8535, allocations: 400.6 kB / 0.8686 GB, free: 192 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.8536, allocations: 0 / 0.8686 GB, free: 192 kB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008352/0.8544, allocations: 488.4 kB / 0.8691 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.8544, allocations: 8 kB / 0.8691 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8545, allocations: 4.281 kB / 0.8691 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.8545, allocations: 8 kB / 0.8691 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.8548, allocations: 83.91 kB / 0.8692 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.8549, allocations: 7.984 kB / 0.8692 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.8554, allocations: 38.08 kB / 0.8693 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.8555, allocations: 19.98 kB / 0.8693 GB, free: 15.54 MB / 0.6387 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.0002077/0.8557, allocations: 208.1 kB / 0.8695 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.8558, allocations: 59.34 kB / 0.8695 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008187/0.8566, allocations: 443.4 kB / 0.87 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8567, allocations: 4 kB / 0.87 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.8567, allocations: 0 / 0.87 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006859/0.8574, allocations: 0.6495 MB / 0.8706 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.8592, allocations: 1.206 MB / 0.8718 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8593, allocations: 4 kB / 0.8718 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.8597, allocations: 97.41 kB / 0.8719 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.8598, allocations: 4 kB / 0.8719 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.8598, allocations: 8 kB / 0.8719 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/0.8602, allocations: 0.5958 MB / 0.8725 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.8602, allocations: 4.031 kB / 0.8725 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.8611, allocations: 0.747 MB / 0.8732 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.8614, allocations: 172.4 kB / 0.8734 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.8615, allocations: 8.094 kB / 0.8734 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.8619, allocations: 11.98 kB / 0.8734 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.862, allocations: 35.89 kB / 0.8734 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.8621, allocations: 20 kB / 0.8734 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004279/0.8625, allocations: 358.8 kB / 0.8738 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8625, allocations: 0 / 0.8738 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001059/0.8636, allocations: 347.2 kB / 0.8741 GB, free: 10.34 MB / 0.6387 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.0005603/0.8641, allocations: 197.8 kB / 0.8743 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.8654, allocations: 0.5909 MB / 0.8749 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.8654, allocations: 4 kB / 0.8749 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.8658, allocations: 187.7 kB / 0.875 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.8674, allocations: 347.2 kB / 0.8754 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.8698, allocations: 1.381 MB / 0.8767 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.8704, allocations: 0.9453 MB / 0.8777 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.8706, allocations: 55.42 kB / 0.8777 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.8706, allocations: 0 / 0.8777 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.02125/0.8918, allocations: 12.82 MB / 0.8902 GB, free: 9.852 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)