Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001401/0.001401, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.439/1.439, allocations: 194.3 MB / 202.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001628/0.001628, allocations: 114.4 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2119/0.2119, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.037e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.658/8.764, allocations: 3.629 GB / 4.067 GB, free: 129.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/8.764, allocations: 84.84 kB / 4.067 GB, free: 129.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02/9.784, allocations: 301.1 MB / 4.361 GB, free: 20.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.514e-06/9.784, allocations: 4 kB / 4.361 GB, free: 20.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.535e-05/9.784, allocations: 12 kB / 4.361 GB, free: 20.85 MB / 474.7 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.006535/9.791, allocations: 1.594 MB / 4.363 GB, free: 19.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/9.791, allocations: 8.031 kB / 4.363 GB, free: 19.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/9.791, allocations: 51.53 kB / 4.363 GB, free: 19.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/9.793, allocations: 406.7 kB / 4.363 GB, free: 18.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/9.793, allocations: 16 kB / 4.363 GB, free: 18.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/9.793, allocations: 20 kB / 4.363 GB, free: 18.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008391/9.794, allocations: 421.4 kB / 4.364 GB, free: 18.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/9.794, allocations: 432 kB / 4.364 GB, free: 17.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/9.794, allocations: 3.938 kB / 4.364 GB, free: 17.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/9.794, allocations: 4 kB / 4.364 GB, free: 17.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/9.794, allocations: 8 kB / 4.364 GB, free: 17.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/9.798, allocations: 2.824 MB / 4.367 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/9.798, allocations: 325 kB / 4.367 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/9.799, allocations: 90.64 kB / 4.367 GB, free: 14.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/9.799, allocations: 97.34 kB / 4.367 GB, free: 14.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/9.799, allocations: 38.53 kB / 4.367 GB, free: 14.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/9.799, allocations: 4 kB / 4.367 GB, free: 14.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005248/9.799, allocations: 233.1 kB / 4.367 GB, free: 13.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/9.799, allocations: 106.8 kB / 4.368 GB, free: 13.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/9.8, allocations: 282.2 kB / 4.368 GB, free: 13.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/9.8, allocations: 25.7 kB / 4.368 GB, free: 13.33 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/9.8, allocations: 275.3 kB / 4.368 GB, free: 13.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/9.8, allocations: 74.94 kB / 4.368 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/9.8, allocations: 0 / 4.368 GB, free: 12.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/9.8, allocations: 354.8 kB / 4.369 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/9.8, allocations: 88.86 kB / 4.369 GB, free: 12.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/9.8, allocations: 279.3 kB / 4.369 GB, free: 12.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/9.801, allocations: 227.7 kB / 4.369 GB, free: 11.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/9.801, allocations: 0 / 4.369 GB, free: 11.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001023/9.802, allocations: 0.4888 MB / 4.37 GB, free: 11.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/9.802, allocations: 70.83 kB / 4.37 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/9.802, allocations: 4 kB / 4.37 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/9.802, allocations: 16.03 kB / 4.37 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/9.802, allocations: 104.5 kB / 4.37 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/9.802, allocations: 15.94 kB / 4.37 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/9.803, allocations: 55.45 kB / 4.37 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/9.803, allocations: 24 kB / 4.37 GB, free: 11.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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.000105/9.803, allocations: 128.7 kB / 4.37 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/9.803, allocations: 39.62 kB / 4.37 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/9.804, allocations: 274.1 kB / 4.37 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/9.804, allocations: 0 / 4.37 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/9.804, allocations: 4 kB / 4.37 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/9.804, allocations: 0 / 4.37 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/9.805, allocations: 0.9946 MB / 4.371 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/9.805, allocations: 4 kB / 4.371 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/9.805, allocations: 47.91 kB / 4.371 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/9.805, allocations: 4 kB / 4.371 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/9.805, allocations: 4 kB / 4.371 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/9.805, allocations: 11.89 kB / 4.371 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/9.805, allocations: 8.594 kB / 4.371 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/9.806, allocations: 0.7068 MB / 4.372 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/9.806, allocations: 120.6 kB / 4.372 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/9.806, allocations: 4 kB / 4.372 GB, free: 8.555 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/9.806, allocations: 15.98 kB / 4.372 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/9.806, allocations: 27.92 kB / 4.372 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/9.806, allocations: 12 kB / 4.372 GB, free: 8.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001943/9.806, allocations: 216.6 kB / 4.372 GB, free: 8.289 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.042e-06/9.806, allocations: 0 / 4.372 GB, free: 8.289 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001841/9.808, allocations: 443.3 kB / 4.373 GB, free: 7.855 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.003189/9.811, allocations: 1.362 MB / 4.374 GB, free: 6.492 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004309/9.812, allocations: 355.5 kB / 4.375 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/9.812, allocations: 0 / 4.375 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/9.812, allocations: 75.86 kB / 4.375 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/9.813, allocations: 142.4 kB / 4.375 GB, free: 5.906 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/9.814, allocations: 0.5594 MB / 4.375 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/9.814, allocations: 0.8347 MB / 4.376 GB, free: 4.418 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004161/9.815, allocations: 103.2 kB / 4.376 GB, free: 4.316 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/9.815, allocations: 35.42 kB / 4.376 GB, free: 4.281 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/9.815, allocations: 0 / 4.376 GB, free: 4.281 MB / 474.7 MB Notification: Performance of Templates: time 0.3393/10.15, allocations: 14.5 MB / 4.39 GB, free: 70.12 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1)