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.001025/0.001025, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.001043/0.001043, allocations: 192.8 kB / 17.31 MB, free: 5.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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7667/0.7667, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3316, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5047/0.8364, allocations: 186.8 MB / 0.7682 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007013/0.8435, allocations: 4.564 MB / 0.7726 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009954/0.8445, allocations: 28.62 kB / 0.7726 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.8456, allocations: 414.9 kB / 0.773 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.8487, allocations: 1.345 MB / 0.7743 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.8505, allocations: 0.7577 MB / 0.7751 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.8528, allocations: 1.958 MB / 0.777 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007085/0.8535, allocations: 0.6512 MB / 0.7776 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.8561, allocations: 1.079 MB / 0.7787 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.857, allocations: 0.5893 MB / 0.7793 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.8572, allocations: 64.75 kB / 0.7793 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.8595, allocations: 1.385 MB / 0.7807 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.8598, allocations: 288.8 kB / 0.781 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.8602, allocations: 416.8 kB / 0.7813 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.8619, allocations: 1.477 MB / 0.7828 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8619, allocations: 3 kB / 0.7828 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8619, allocations: 0.75 kB / 0.7828 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.862, allocations: 0 / 0.7828 GB, free: 1.391 MB / 0.5762 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.001462/0.8634, allocations: 1.091 MB / 0.7839 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.8635, allocations: 15.89 kB / 0.7839 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.8646, allocations: 203.6 kB / 0.7841 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.8655, allocations: 0.6132 MB / 0.7847 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.8656, allocations: 38.75 kB / 0.7847 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.8657, allocations: 59.72 kB / 0.7848 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/0.8665, allocations: 0.6223 MB / 0.7854 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.8665, allocations: 0.8125 kB / 0.7854 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.8665, allocations: 23.08 kB / 0.7854 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.8666, allocations: 25.08 kB / 0.7854 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.8672, allocations: 497.3 kB / 0.7859 GB, free: 16.33 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.002386/0.8696, allocations: 2.388 MB / 0.7882 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.8701, allocations: 359.8 kB / 0.7886 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.8703, allocations: 214.7 kB / 0.7888 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.8708, allocations: 306.2 kB / 0.7891 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8709, allocations: 35.91 kB / 0.7891 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.8709, allocations: 0.9375 kB / 0.7891 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.0009367/0.8718, allocations: 0.5476 MB / 0.7896 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.8719, allocations: 61.12 kB / 0.7897 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.8723, allocations: 0.4994 MB / 0.7902 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.8724, allocations: 36.92 kB / 0.7902 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.8725, allocations: 321.5 kB / 0.7905 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.8726, allocations: 126.3 kB / 0.7906 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.8727, allocations: 88.3 kB / 0.7907 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8729, allocations: 366.4 kB / 0.7911 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.8731, allocations: 148.7 kB / 0.7912 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.8733, allocations: 265.8 kB / 0.7915 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.8737, allocations: 410 kB / 0.7919 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.8737, allocations: 3.219 kB / 0.7919 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005661/0.8743, allocations: 487.4 kB / 0.7923 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8743, allocations: 5.031 kB / 0.7923 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8744, allocations: 7.297 kB / 0.7923 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8744, allocations: 3.344 kB / 0.7923 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.8749, allocations: 99.72 kB / 0.7924 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003357/0.8752, allocations: 0.6014 MB / 0.793 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.8757, allocations: 47.14 kB / 0.7931 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.8757, allocations: 20.62 kB / 0.7931 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003437/0.8761, allocations: 327 kB / 0.7934 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002623/0.8764, allocations: 262.9 kB / 0.7937 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000425/0.8768, allocations: 403.3 kB / 0.794 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.8768, allocations: 2.938 kB / 0.794 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0005563/0.8774, allocations: 490.5 kB / 0.7945 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.8774, allocations: 15.72 kB / 0.7945 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.8774, allocations: 3.594 kB / 0.7945 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.8774, allocations: 3.75 kB / 0.7945 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.8777, allocations: 86.62 kB / 0.7946 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8777, allocations: 6.203 kB / 0.7946 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.8781, allocations: 29.81 kB / 0.7946 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.8781, allocations: 16.12 kB / 0.7947 GB, free: 12.57 MB / 0.5919 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.000142/0.8783, allocations: 209.8 kB / 0.7949 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.8784, allocations: 65.97 kB / 0.7949 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.879, allocations: 450.5 kB / 0.7954 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.879, allocations: 3.594 kB / 0.7954 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.879, allocations: 0 / 0.7954 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005257/0.8795, allocations: 0.6571 MB / 0.796 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.881, allocations: 1.199 MB / 0.7972 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.881, allocations: 2.594 kB / 0.7972 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.8814, allocations: 97.12 kB / 0.7973 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.8814, allocations: 3.219 kB / 0.7973 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.8815, allocations: 9.469 kB / 0.7973 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002779/0.8817, allocations: 0.5962 MB / 0.7979 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8818, allocations: 3.781 kB / 0.7979 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.8825, allocations: 0.7388 MB / 0.7986 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.8827, allocations: 179 kB / 0.7988 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.8828, allocations: 10.06 kB / 0.7988 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.8832, allocations: 14.27 kB / 0.7988 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.8832, allocations: 24.58 kB / 0.7988 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.8832, allocations: 18 kB / 0.7988 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003193/0.8836, allocations: 360.4 kB / 0.7992 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8836, allocations: 0.875 kB / 0.7992 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007645/0.8843, allocations: 347.3 kB / 0.7995 GB, free: 10.41 MB / 0.5919 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.000386/0.8847, allocations: 190.3 kB / 0.7997 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009175/0.8857, allocations: 0.5962 MB / 0.8003 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8857, allocations: 0.75 kB / 0.8003 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.8859, allocations: 189.3 kB / 0.8004 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.8873, allocations: 368.8 kB / 0.8008 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.8891, allocations: 1.322 MB / 0.8021 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.8896, allocations: 0.9362 MB / 0.803 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004962/0.8901, allocations: 201.5 kB / 0.8032 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.8902, allocations: 51.58 kB / 0.8032 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.8902, allocations: 0 / 0.8032 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of Templates: time 0.01746/0.9077, allocations: 11.84 MB / 0.8148 GB, free: 6.273 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)