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.001059/0.001059, allocations: 103.6 kB / 16.35 MB, free: 6.285 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.001/0.001, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7931/0.7931, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 0.5067 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 80.9 MB / 0.5857 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.53/0.8982, allocations: 186.8 MB / 0.7681 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007125/0.9054, allocations: 4.563 MB / 0.7726 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.9069, allocations: 31.78 kB / 0.7726 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.9084, allocations: 405.1 kB / 0.773 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.9121, allocations: 1.345 MB / 0.7743 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.914, allocations: 0.7621 MB / 0.7751 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.9172, allocations: 1.951 MB / 0.777 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.9181, allocations: 0.652 MB / 0.7776 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.921, allocations: 1.078 MB / 0.7787 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.9221, allocations: 0.6 MB / 0.7793 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.9222, allocations: 63.94 kB / 0.7793 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.9249, allocations: 1.384 MB / 0.7807 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.9253, allocations: 283 kB / 0.7809 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.9259, allocations: 418 kB / 0.7813 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.9279, allocations: 1.479 MB / 0.7828 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9279, allocations: 0.9375 kB / 0.7828 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9279, allocations: 0 / 0.7828 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.9279, allocations: 1.203 kB / 0.7828 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.001635/0.9296, allocations: 1.093 MB / 0.7839 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9296, allocations: 12.89 kB / 0.7839 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.9308, allocations: 203.5 kB / 0.7841 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.9319, allocations: 0.6082 MB / 0.7847 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.9319, allocations: 43.06 kB / 0.7847 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.932, allocations: 61.34 kB / 0.7848 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.9329, allocations: 0.627 MB / 0.7854 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.9329, allocations: 0 / 0.7854 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.933, allocations: 19.28 kB / 0.7854 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.933, allocations: 21.47 kB / 0.7854 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.9337, allocations: 0.4891 MB / 0.7859 GB, free: 16.3 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.002626/0.9363, allocations: 2.387 MB / 0.7882 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.9368, allocations: 358.3 kB / 0.7886 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.937, allocations: 212.4 kB / 0.7888 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.9376, allocations: 305 kB / 0.789 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.9376, allocations: 38.73 kB / 0.7891 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.433e-06/0.9376, allocations: 0.9688 kB / 0.7891 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001004/0.9386, allocations: 0.5476 MB / 0.7896 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.9387, allocations: 62.22 kB / 0.7897 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.9392, allocations: 0.4992 MB / 0.7902 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.9392, allocations: 35.95 kB / 0.7902 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.9394, allocations: 322.4 kB / 0.7905 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.9395, allocations: 130.1 kB / 0.7906 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.9396, allocations: 84.98 kB / 0.7907 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9398, allocations: 364.9 kB / 0.7911 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.94, allocations: 152 kB / 0.7912 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.9403, allocations: 266.6 kB / 0.7915 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.9407, allocations: 412.8 kB / 0.7919 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9407, allocations: 0 / 0.7919 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006197/0.9413, allocations: 482.5 kB / 0.7923 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9414, allocations: 5.781 kB / 0.7923 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9414, allocations: 2.625 kB / 0.7923 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.9414, allocations: 6.125 kB / 0.7923 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.942, allocations: 101.9 kB / 0.7924 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004141/0.9424, allocations: 0.6008 MB / 0.793 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.9429, allocations: 46.98 kB / 0.7931 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.9429, allocations: 17.22 kB / 0.7931 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003698/0.9433, allocations: 332.7 kB / 0.7934 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003108/0.9436, allocations: 259 kB / 0.7936 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004669/0.9441, allocations: 406.6 kB / 0.794 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.9441, allocations: 0.9062 kB / 0.794 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006087/0.9447, allocations: 484.5 kB / 0.7945 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.9448, allocations: 9.312 kB / 0.7945 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.9448, allocations: 3.438 kB / 0.7945 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.9448, allocations: 5.938 kB / 0.7945 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.9451, allocations: 91.84 kB / 0.7946 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9451, allocations: 2.656 kB / 0.7946 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.9455, allocations: 32.02 kB / 0.7946 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.9456, allocations: 20.72 kB / 0.7946 GB, free: 12.55 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.0001634/0.9457, allocations: 213.3 kB / 0.7949 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.9458, allocations: 61.56 kB / 0.7949 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.9465, allocations: 441.2 kB / 0.7953 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.9465, allocations: 4.312 kB / 0.7953 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9465, allocations: 0 / 0.7953 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005833/0.9471, allocations: 0.6613 MB / 0.796 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.9486, allocations: 1.204 MB / 0.7972 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9486, allocations: 3.219 kB / 0.7972 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.949, allocations: 97.14 kB / 0.7973 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9491, allocations: 6.125 kB / 0.7973 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.9491, allocations: 7.156 kB / 0.7973 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003192/0.9494, allocations: 0.5944 MB / 0.7978 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9494, allocations: 3.375 kB / 0.7978 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.9502, allocations: 0.7432 MB / 0.7986 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.9505, allocations: 182.2 kB / 0.7987 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.9506, allocations: 11.77 kB / 0.7988 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.9509, allocations: 14.88 kB / 0.7988 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.951, allocations: 29.7 kB / 0.7988 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.951, allocations: 14.69 kB / 0.7988 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003756/0.9514, allocations: 357.6 kB / 0.7992 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9514, allocations: 4.531 kB / 0.7992 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008489/0.9523, allocations: 343.2 kB / 0.7995 GB, free: 10.38 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.0004676/0.9528, allocations: 195.8 kB / 0.7997 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.9539, allocations: 0.5913 MB / 0.8003 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9539, allocations: 0.8125 kB / 0.8003 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.9541, allocations: 190.3 kB / 0.8004 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.9556, allocations: 353.4 kB / 0.8008 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.9577, allocations: 1.325 MB / 0.8021 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.9582, allocations: 0.9429 MB / 0.803 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005666/0.9588, allocations: 209.7 kB / 0.8032 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.9589, allocations: 53.22 kB / 0.8032 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.9589, allocations: 3.938 kB / 0.8032 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of Templates: time 0.01892/0.9779, allocations: 11.83 MB / 0.8148 GB, free: 6.207 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)