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.001512/0.001512, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001432/0.001432, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.808/0.808, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3438, allocations: 80.92 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5004/0.8442, allocations: 186.8 MB / 0.7674 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006942/0.8512, allocations: 4.561 MB / 0.7719 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009779/0.8522, allocations: 33.38 kB / 0.7719 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.8533, allocations: 409.8 kB / 0.7723 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.8563, allocations: 1.348 MB / 0.7736 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.8582, allocations: 0.7483 MB / 0.7744 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.8606, allocations: 1.95 MB / 0.7763 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.8614, allocations: 0.6588 MB / 0.7769 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.8647, allocations: 1.072 MB / 0.778 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.866, allocations: 0.5875 MB / 0.7785 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.8661, allocations: 65 kB / 0.7786 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.8689, allocations: 1.382 MB / 0.7799 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.8692, allocations: 284.4 kB / 0.7802 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.8697, allocations: 416.9 kB / 0.7806 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.8717, allocations: 1.471 MB / 0.7821 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8717, allocations: 0.9375 kB / 0.7821 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8717, allocations: 0 / 0.7821 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.8717, allocations: 0 / 0.7821 GB, free: 1.359 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.001481/0.8732, allocations: 1.089 MB / 0.7831 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.8733, allocations: 9.766 kB / 0.7831 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.8744, allocations: 207.5 kB / 0.7833 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.8753, allocations: 0.5773 MB / 0.7839 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.8753, allocations: 41.59 kB / 0.7839 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.8754, allocations: 62.77 kB / 0.784 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.8762, allocations: 0.622 MB / 0.7846 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.8762, allocations: 0 / 0.7846 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.8763, allocations: 24.19 kB / 0.7846 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.8763, allocations: 19.5 kB / 0.7846 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.877, allocations: 0.4931 MB / 0.7851 GB, free: 16.29 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.002668/0.8797, allocations: 2.409 MB / 0.7875 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.8801, allocations: 352.6 kB / 0.7878 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.8804, allocations: 211.4 kB / 0.788 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/0.881, allocations: 308.2 kB / 0.7883 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.881, allocations: 38.16 kB / 0.7883 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.725e-06/0.881, allocations: 4.922 kB / 0.7883 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.0009876/0.882, allocations: 0.5467 MB / 0.7889 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.8821, allocations: 62.56 kB / 0.7889 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.8826, allocations: 0.503 MB / 0.7894 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.8826, allocations: 33.95 kB / 0.7895 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.8828, allocations: 319.5 kB / 0.7898 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.8829, allocations: 125.6 kB / 0.7899 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.883, allocations: 82.8 kB / 0.79 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8832, allocations: 368.7 kB / 0.7903 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.8834, allocations: 151.1 kB / 0.7905 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.8837, allocations: 268.3 kB / 0.7907 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.8842, allocations: 408.3 kB / 0.7911 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8842, allocations: 4.188 kB / 0.7911 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006692/0.8848, allocations: 484 kB / 0.7916 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8849, allocations: 8.062 kB / 0.7916 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.8849, allocations: 4.438 kB / 0.7916 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8849, allocations: 5.062 kB / 0.7916 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.8855, allocations: 101.4 kB / 0.7917 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.8859, allocations: 0.6041 MB / 0.7923 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.8865, allocations: 43.61 kB / 0.7923 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.8865, allocations: 17.06 kB / 0.7923 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003943/0.8869, allocations: 328.3 kB / 0.7926 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002998/0.8872, allocations: 266.5 kB / 0.7929 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004466/0.8877, allocations: 407.1 kB / 0.7933 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.8877, allocations: 0 / 0.7933 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006071/0.8883, allocations: 484.2 kB / 0.7937 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.8883, allocations: 10 kB / 0.7938 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.8883, allocations: 3.5 kB / 0.7938 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.8884, allocations: 8.812 kB / 0.7938 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.8887, allocations: 91.27 kB / 0.7939 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8887, allocations: 5.281 kB / 0.7939 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.8891, allocations: 29.86 kB / 0.7939 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.8892, allocations: 19.97 kB / 0.7939 GB, free: 12.53 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.0001861/0.8894, allocations: 207.7 kB / 0.7941 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.8895, allocations: 61.91 kB / 0.7942 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.8901, allocations: 444.1 kB / 0.7946 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8901, allocations: 3.656 kB / 0.7946 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8901, allocations: 3.438 kB / 0.7946 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005771/0.8907, allocations: 0.6577 MB / 0.7952 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.8922, allocations: 1.203 MB / 0.7964 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8922, allocations: 3.344 kB / 0.7964 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.8927, allocations: 89.52 kB / 0.7965 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.8927, allocations: 3.344 kB / 0.7965 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.8927, allocations: 12.91 kB / 0.7965 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003476/0.8931, allocations: 0.5956 MB / 0.7971 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8931, allocations: 6.078 kB / 0.7971 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/0.8938, allocations: 0.7429 MB / 0.7978 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.8941, allocations: 180.7 kB / 0.798 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.8941, allocations: 8.375 kB / 0.798 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.8945, allocations: 14.73 kB / 0.798 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.8946, allocations: 30.48 kB / 0.7981 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.8946, allocations: 11.16 kB / 0.7981 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003437/0.8949, allocations: 361.4 kB / 0.7984 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8949, allocations: 0 / 0.7984 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008324/0.8958, allocations: 346.8 kB / 0.7987 GB, free: 10.36 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.0004461/0.8962, allocations: 195.7 kB / 0.7989 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.8973, allocations: 0.6328 MB / 0.7995 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8973, allocations: 0 / 0.7995 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.8976, allocations: 193.7 kB / 0.7997 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.8991, allocations: 357.1 kB / 0.8001 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.9012, allocations: 1.387 MB / 0.8014 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.9018, allocations: 0.9359 MB / 0.8023 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.9019, allocations: 57.28 kB / 0.8024 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.9019, allocations: 0 / 0.8024 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.0163/0.9182, allocations: 12.68 MB / 0.8148 GB, free: 5.496 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)