Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001053/0.001053, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4042/0.4042, allocations: 38.03 MB / 308.4 MB, free: 10.36 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.00061, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4295/0.5521, allocations: 148.7 MB / 0.5689 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.5574, allocations: 3.304 MB / 0.5722 GB, free: 48 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.5579, allocations: 11.88 kB / 0.5722 GB, free: 36 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008803/0.5588, allocations: 151.4 kB / 0.5723 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008505/0.5597, allocations: 227.3 kB / 0.5725 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005714/0.5654, allocations: 1.599 MB / 0.5741 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.5665, allocations: 0.5434 MB / 0.5746 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006066/0.5672, allocations: 259.5 kB / 0.5749 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.5707, allocations: 1.232 MB / 0.5761 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.5713, allocations: 223.2 kB / 0.5763 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.5714, allocations: 20 kB / 0.5763 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005559/0.577, allocations: 2.508 MB / 0.5788 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.5773, allocations: 163.5 kB / 0.5789 GB, free: 9.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.5776, allocations: 113.5 kB / 0.579 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.5807, allocations: 1.337 MB / 0.5803 GB, free: 7.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5807, allocations: 4 kB / 0.5803 GB, free: 7.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5807, allocations: 0 / 0.5803 GB, free: 7.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.5807, allocations: 0 / 0.5803 GB, free: 7.691 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002257/0.583, allocations: 0.9675 MB / 0.5813 GB, free: 6.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.583, allocations: 11.97 kB / 0.5813 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.5835, allocations: 59.42 kB / 0.5813 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008454/0.5843, allocations: 350.2 kB / 0.5817 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.5844, allocations: 32.94 kB / 0.5817 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.5845, allocations: 36 kB / 0.5817 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009691/0.5854, allocations: 0.5129 MB / 0.5822 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5855, allocations: 11.88 kB / 0.5823 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.5855, allocations: 19.95 kB / 0.5823 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5855, allocations: 8 kB / 0.5823 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/0.5864, allocations: 0.4987 MB / 0.5828 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.5893, allocations: 1.995 MB / 0.5847 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.59, allocations: 456.8 kB / 0.5852 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007811/0.5908, allocations: 0.9494 MB / 0.5861 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5908, allocations: 38.56 kB / 0.5861 GB, free: 1.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.5908, allocations: 0 / 0.5861 GB, free: 1.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001115/0.592, allocations: 0.5041 MB / 0.5866 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.592, allocations: 106.8 kB / 0.5867 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.5925, allocations: 397.6 kB / 0.5871 GB, free: 224 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.5925, allocations: 33.7 kB / 0.5871 GB, free: 184 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5927, allocations: 216.3 kB / 0.5873 GB, free: 15.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.5928, allocations: 106.4 kB / 0.5874 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.5928, allocations: 12 kB / 0.5874 GB, free: 15.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.593, allocations: 354.6 kB / 0.5878 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.5933, allocations: 156.6 kB / 0.5879 GB, free: 15.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.5937, allocations: 258 kB / 0.5882 GB, free: 15.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.5941, allocations: 247.3 kB / 0.5884 GB, free: 14.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.5941, allocations: 4 kB / 0.5884 GB, free: 14.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009663/0.5951, allocations: 0.558 MB / 0.589 GB, free: 14.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.5952, allocations: 69.91 kB / 0.589 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5952, allocations: 3.984 kB / 0.589 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5952, allocations: 11.94 kB / 0.589 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.5956, allocations: 83.83 kB / 0.5891 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.5956, allocations: 8 kB / 0.5891 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.596, allocations: 59.55 kB / 0.5892 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.5961, allocations: 23.98 kB / 0.5892 GB, free: 13.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.5964, allocations: 187.3 kB / 0.5894 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5965, allocations: 39.53 kB / 0.5894 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.5976, allocations: 0.4967 MB / 0.5899 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.5976, allocations: 7.984 kB / 0.5899 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5977, allocations: 4.062 kB / 0.5899 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5977, allocations: 0 / 0.5899 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.6007, allocations: 2.441 MB / 0.5923 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6008, allocations: 0 / 0.5923 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.6011, allocations: 71.94 kB / 0.5924 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.6011, allocations: 7.984 kB / 0.5924 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.6011, allocations: 11.95 kB / 0.5924 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.6011, allocations: 4 kB / 0.5924 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6011, allocations: 2.109 kB / 0.5924 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.602, allocations: 0.7426 MB / 0.5931 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.6022, allocations: 140.5 kB / 0.5933 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/0.6023, allocations: 8 kB / 0.5933 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.6028, allocations: 27.97 kB / 0.5933 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.6029, allocations: 27.91 kB / 0.5933 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.6029, allocations: 27.92 kB / 0.5933 GB, free: 9.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.6034, allocations: 355.1 kB / 0.5937 GB, free: 8.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6034, allocations: 0 / 0.5937 GB, free: 8.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001285/0.6047, allocations: 379.6 kB / 0.594 GB, free: 8.527 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001673/0.6063, allocations: 0.5667 MB / 0.5946 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009125/0.6073, allocations: 470.7 kB / 0.595 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.6073, allocations: 11.88 kB / 0.5951 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.6076, allocations: 168.7 kB / 0.5952 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.609, allocations: 238 kB / 0.5954 GB, free: 7.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.611, allocations: 0.9309 MB / 0.5964 GB, free: 6.098 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.6117, allocations: 0.8432 MB / 0.5972 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.6123, allocations: 114.1 kB / 0.5973 GB, free: 5.117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.6125, allocations: 47.42 kB / 0.5973 GB, free: 5.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.392e-06/0.6125, allocations: 0 / 0.5973 GB, free: 5.07 MB / 462.1 MB Notification: Performance of Templates: time 0.02688/0.6394, allocations: 14.84 MB / 0.6118 GB, free: 6.25 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) Environment - environmentSimulation: