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.009422/0.009422, allocations: 96.72 kB / 15.73 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.002034/0.002034, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5055, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.227/0.7326, allocations: 186.8 MB / 0.8471 GB, free: 6.188 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009021/0.7417, allocations: 4.558 MB / 0.8515 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.743, allocations: 31.81 kB / 0.8515 GB, free: 1.586 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.7445, allocations: 413.4 kB / 0.8519 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.7483, allocations: 1.346 MB / 0.8532 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.751, allocations: 0.7628 MB / 0.854 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.7543, allocations: 1.949 MB / 0.8559 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.7553, allocations: 0.6588 MB / 0.8565 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.7585, allocations: 1.081 MB / 0.8576 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.7596, allocations: 0.578 MB / 0.8582 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.7598, allocations: 64 kB / 0.8582 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.7629, allocations: 1.391 MB / 0.8596 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.7632, allocations: 291.1 kB / 0.8599 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.7638, allocations: 418.1 kB / 0.8603 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.7664, allocations: 1.493 MB / 0.8617 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7664, allocations: 0 / 0.8617 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7664, allocations: 0 / 0.8617 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.7665, allocations: 0 / 0.8617 GB, free: 7.145 MB / 0.6856 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.001815/0.7683, allocations: 1.116 MB / 0.8628 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.7683, allocations: 12.03 kB / 0.8628 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.7697, allocations: 203.3 kB / 0.863 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/0.7707, allocations: 0.615 MB / 0.8636 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.7708, allocations: 45.31 kB / 0.8636 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7709, allocations: 55.94 kB / 0.8637 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.7719, allocations: 0.6245 MB / 0.8643 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.7719, allocations: 7.938 kB / 0.8643 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.772, allocations: 24 kB / 0.8643 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.7721, allocations: 21.31 kB / 0.8644 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.7729, allocations: 0.4892 MB / 0.8648 GB, free: 3.832 MB / 0.6856 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.003003/0.7759, allocations: 2.393 MB / 0.8672 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.7765, allocations: 354.1 kB / 0.8675 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.7768, allocations: 209.8 kB / 0.8677 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/0.7774, allocations: 311.2 kB / 0.868 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.7775, allocations: 38.55 kB / 0.868 GB, free: 272 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/0.7775, allocations: 0 / 0.868 GB, free: 272 kB / 0.6856 GB Notification: Performance of matching and sorting (n=36): time 0.3954/1.173, allocations: 0.5458 MB / 0.8686 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/1.173, allocations: 59.12 kB / 0.8686 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.174, allocations: 0.4996 MB / 0.8691 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/1.174, allocations: 32.95 kB / 0.8692 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/1.174, allocations: 320.2 kB / 0.8695 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/1.175, allocations: 139.5 kB / 0.8696 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/1.175, allocations: 82.11 kB / 0.8697 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.175, allocations: 361.4 kB / 0.87 GB, free: 194 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/1.175, allocations: 156.3 kB / 0.8702 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/1.176, allocations: 262.1 kB / 0.8704 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/1.176, allocations: 413.9 kB / 0.8708 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.176, allocations: 4.844 kB / 0.8708 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008574/1.177, allocations: 486 kB / 0.8713 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.177, allocations: 10.61 kB / 0.8713 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.177, allocations: 2.219 kB / 0.8713 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/1.177, allocations: 8.094 kB / 0.8713 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/1.178, allocations: 101 kB / 0.8714 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002926/1.178, allocations: 0.5959 MB / 0.872 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/1.179, allocations: 48.98 kB / 0.872 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/1.179, allocations: 21.98 kB / 0.872 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005074/1.179, allocations: 326.2 kB / 0.8724 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003538/1.18, allocations: 262 kB / 0.8726 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005801/1.18, allocations: 405.1 kB / 0.873 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/1.18, allocations: 0 / 0.873 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008083/1.181, allocations: 487.8 kB / 0.8735 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.181, allocations: 5.906 kB / 0.8735 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.181, allocations: 5.469 kB / 0.8735 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.036e-06/1.181, allocations: 4.094 kB / 0.8735 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/1.182, allocations: 92.11 kB / 0.8736 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.182, allocations: 4.875 kB / 0.8736 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/1.182, allocations: 28.62 kB / 0.8736 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/1.182, allocations: 22.59 kB / 0.8736 GB, free: 191.9 MB / 0.6856 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.000148/1.182, allocations: 207.7 kB / 0.8738 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.182, allocations: 59.44 kB / 0.8739 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/1.183, allocations: 454.6 kB / 0.8743 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.183, allocations: 4.25 kB / 0.8743 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.183, allocations: 0.5625 kB / 0.8743 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006855/1.184, allocations: 0.6491 MB / 0.8749 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/1.186, allocations: 1.212 MB / 0.8761 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.186, allocations: 5.531 kB / 0.8761 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/1.186, allocations: 93.52 kB / 0.8762 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.186, allocations: 2.688 kB / 0.8762 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.187, allocations: 12.52 kB / 0.8762 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002247/1.187, allocations: 0.5915 MB / 0.8768 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.187, allocations: 4.531 kB / 0.8768 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/1.188, allocations: 0.7556 MB / 0.8776 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/1.188, allocations: 177.6 kB / 0.8777 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/1.188, allocations: 14.41 kB / 0.8777 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/1.189, allocations: 13.25 kB / 0.8778 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.189, allocations: 32.16 kB / 0.8778 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/1.189, allocations: 11.89 kB / 0.8778 GB, free: 189 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005288/1.189, allocations: 361.6 kB / 0.8781 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.189, allocations: 0 / 0.8781 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001223/1.19, allocations: 345.1 kB / 0.8785 GB, free: 188.8 MB / 0.6856 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.0005223/1.191, allocations: 197.3 kB / 0.8787 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.193, allocations: 0.5871 MB / 0.8792 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.193, allocations: 0.5312 kB / 0.8792 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/1.193, allocations: 195.6 kB / 0.8794 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.195, allocations: 361.4 kB / 0.8798 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/1.197, allocations: 1.343 MB / 0.8811 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/1.198, allocations: 0.9428 MB / 0.882 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006481/1.198, allocations: 203.3 kB / 0.8822 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/1.199, allocations: 50.83 kB / 0.8822 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.633e-06/1.199, allocations: 0 / 0.8822 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.023/1.222, allocations: 11.93 MB / 0.8939 GB, free: 181 MB / 0.6856 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)