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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 109.2 kB / 16.41 MB, free: 6.043 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.001371/0.001371, allocations: 186.7 kB / 17.34 MB, free: 5.609 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8927/0.8927, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.34 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 80.94 MB / 0.6654 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.6563/0.8515, allocations: 187.3 MB / 0.8483 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00947/0.861, allocations: 4.568 MB / 0.8527 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.8623, allocations: 29.31 kB / 0.8527 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.8638, allocations: 423.4 kB / 0.8531 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.8682, allocations: 1.404 MB / 0.8545 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.8707, allocations: 0.7595 MB / 0.8553 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.874, allocations: 1.962 MB / 0.8572 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009851/0.875, allocations: 0.5569 MB / 0.8577 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.8785, allocations: 1.11 MB / 0.8588 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.8798, allocations: 0.5866 MB / 0.8594 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.88, allocations: 63.84 kB / 0.8594 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.8831, allocations: 1.397 MB / 0.8608 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.8835, allocations: 290.5 kB / 0.8611 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.8841, allocations: 414.6 kB / 0.8615 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.8874, allocations: 1.495 MB / 0.8629 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.8874, allocations: 4 kB / 0.8629 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8874, allocations: 0 / 0.8629 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.8874, allocations: 0 / 0.8629 GB, free: 4.863 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.002184/0.8896, allocations: 1.116 MB / 0.864 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8897, allocations: 13.11 kB / 0.864 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.891, allocations: 203.4 kB / 0.8642 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.8922, allocations: 0.6226 MB / 0.8648 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.8922, allocations: 41.31 kB / 0.8649 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.8923, allocations: 52 kB / 0.8649 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.8935, allocations: 0.6206 MB / 0.8655 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.8935, allocations: 0 / 0.8655 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.8935, allocations: 23.98 kB / 0.8656 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.8936, allocations: 29.23 kB / 0.8656 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008744/0.8945, allocations: 0.4892 MB / 0.8661 GB, free: 1.547 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.0033/0.8978, allocations: 2.394 MB / 0.8684 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.8984, allocations: 335.3 kB / 0.8687 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.8987, allocations: 196.8 kB / 0.8689 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/0.8993, allocations: 311.2 kB / 0.8692 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.8994, allocations: 38.5 kB / 0.8692 GB, free: 14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.8994, allocations: 0 / 0.8692 GB, free: 14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.001244/0.9006, allocations: 0.5598 MB / 0.8698 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.9007, allocations: 55.41 kB / 0.8698 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.9013, allocations: 0.4989 MB / 0.8703 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.9014, allocations: 29.7 kB / 0.8704 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.9017, allocations: 325.1 kB / 0.8707 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.9018, allocations: 130.8 kB / 0.8708 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.902, allocations: 86.08 kB / 0.8709 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.9022, allocations: 366.8 kB / 0.8712 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.9024, allocations: 154.5 kB / 0.8714 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.9028, allocations: 276.4 kB / 0.8716 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/0.9034, allocations: 406.2 kB / 0.872 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9034, allocations: 0 / 0.872 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007897/0.9042, allocations: 482.3 kB / 0.8725 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.9043, allocations: 11.98 kB / 0.8725 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9043, allocations: 4 kB / 0.8725 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9043, allocations: 12.16 kB / 0.8725 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.9049, allocations: 105.3 kB / 0.8726 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/0.9054, allocations: 0.5899 MB / 0.8732 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.9059, allocations: 49.81 kB / 0.8732 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.9059, allocations: 19.98 kB / 0.8733 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005147/0.9064, allocations: 321 kB / 0.8736 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003944/0.9068, allocations: 268.3 kB / 0.8738 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006082/0.9074, allocations: 400.6 kB / 0.8742 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.9074, allocations: 4 kB / 0.8742 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007746/0.9082, allocations: 490.3 kB / 0.8747 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9082, allocations: 6.812 kB / 0.8747 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9082, allocations: 4 kB / 0.8747 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.9082, allocations: 4 kB / 0.8747 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.9086, allocations: 84.19 kB / 0.8748 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.9086, allocations: 11.98 kB / 0.8748 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.909, allocations: 35.78 kB / 0.8748 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.9091, allocations: 23.98 kB / 0.8748 GB, free: 8.043 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.0002161/0.9093, allocations: 204.1 kB / 0.875 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.9094, allocations: 63.62 kB / 0.8751 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.9102, allocations: 444.6 kB / 0.8755 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.9102, allocations: 8 kB / 0.8755 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9102, allocations: 3.938 kB / 0.8755 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007746/0.911, allocations: 0.6482 MB / 0.8762 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.9129, allocations: 1.207 MB / 0.8773 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9129, allocations: 0 / 0.8773 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.9134, allocations: 91.89 kB / 0.8774 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.9134, allocations: 7.938 kB / 0.8774 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.9134, allocations: 15.94 kB / 0.8774 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004043/0.9138, allocations: 0.5902 MB / 0.878 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9138, allocations: 8.062 kB / 0.878 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.9149, allocations: 0.7479 MB / 0.8788 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.9151, allocations: 180.6 kB / 0.8789 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.9152, allocations: 8 kB / 0.8789 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.9156, allocations: 15.98 kB / 0.879 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.9156, allocations: 31.84 kB / 0.879 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.9157, allocations: 12 kB / 0.879 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004732/0.9161, allocations: 362.8 kB / 0.8793 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9161, allocations: 0 / 0.8793 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001036/0.9172, allocations: 351.3 kB / 0.8797 GB, free: 2.824 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.0005554/0.9177, allocations: 197.9 kB / 0.8799 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.919, allocations: 0.555 MB / 0.8804 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.919, allocations: 0 / 0.8804 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.9194, allocations: 187.8 kB / 0.8806 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.921, allocations: 346 kB / 0.8809 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.9234, allocations: 1.395 MB / 0.8823 GB, free: 108 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.9241, allocations: 0.9453 MB / 0.8832 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.9243, allocations: 63.42 kB / 0.8833 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.9243, allocations: 0 / 0.8833 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.02027/0.9445, allocations: 12.81 MB / 0.8958 GB, free: 2.336 MB / 0.6544 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)