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.01056/0.01056, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.002037/0.002038, allocations: 191.8 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1947/0.1947, allocations: 38.01 MB / 307.9 MB, free: 5.996 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.00222/0.00222, allocations: 67.91 kB / 433 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 56.46 MB / 489.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5067/0.6501, allocations: 186.3 MB / 0.6599 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.6528, allocations: 0.9103 MB / 0.6608 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.6533, allocations: 7.938 kB / 0.6608 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.6541, allocations: 202.7 kB / 0.661 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.6547, allocations: 278.3 kB / 0.6612 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006217/0.661, allocations: 2.145 MB / 0.6633 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.6624, allocations: 0.9789 MB / 0.6643 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.6629, allocations: 339.2 kB / 0.6646 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.6668, allocations: 1.694 MB / 0.6663 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.6674, allocations: 322.8 kB / 0.6666 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.702e-05/0.6675, allocations: 44 kB / 0.6666 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005375/0.6728, allocations: 2.934 MB / 0.6695 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.6732, allocations: 195.5 kB / 0.6697 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.6736, allocations: 270.8 kB / 0.6699 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.6782, allocations: 2.116 MB / 0.672 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6782, allocations: 0 / 0.672 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6782, allocations: 0 / 0.672 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.6782, allocations: 4 kB / 0.672 GB, free: 7.531 MB / 0.5137 GB 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.002002/0.6803, allocations: 1.06 MB / 0.673 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.6803, allocations: 15.89 kB / 0.6731 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.6806, allocations: 59.42 kB / 0.6731 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.6812, allocations: 385.9 kB / 0.6735 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.6812, allocations: 29 kB / 0.6735 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.6813, allocations: 36 kB / 0.6735 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.6822, allocations: 0.5197 MB / 0.674 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.6822, allocations: 4 kB / 0.6741 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.6823, allocations: 20 kB / 0.6741 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.6823, allocations: 8 kB / 0.6741 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.6831, allocations: 495.5 kB / 0.6746 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.6857, allocations: 1.964 MB / 0.6765 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.6865, allocations: 460.7 kB / 0.6769 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.6868, allocations: 186.5 kB / 0.6771 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008066/0.6876, allocations: 0.9415 MB / 0.678 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.6876, allocations: 46.48 kB / 0.678 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.6877, allocations: 3.938 kB / 0.6781 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001106/0.6888, allocations: 0.4931 MB / 0.6785 GB, free: 300 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.6888, allocations: 106.8 kB / 0.6786 GB, free: 168 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.6893, allocations: 397.6 kB / 0.679 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.6894, allocations: 33.7 kB / 0.679 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.6895, allocations: 220.1 kB / 0.6793 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.6896, allocations: 102.6 kB / 0.6794 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.6897, allocations: 78.06 kB / 0.6794 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6899, allocations: 350.7 kB / 0.6798 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.6902, allocations: 160.6 kB / 0.6799 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.6906, allocations: 258 kB / 0.6802 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.6913, allocations: 489 kB / 0.6806 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6913, allocations: 4 kB / 0.6806 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009616/0.6923, allocations: 0.5472 MB / 0.6812 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.6923, allocations: 67.45 kB / 0.6812 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6924, allocations: 4.062 kB / 0.6812 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.6924, allocations: 8 kB / 0.6812 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.6928, allocations: 87.83 kB / 0.6813 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.6928, allocations: 4 kB / 0.6813 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.6932, allocations: 51.48 kB / 0.6814 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.6932, allocations: 16.62 kB / 0.6814 GB, free: 13.16 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.6935, allocations: 201.5 kB / 0.6816 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6936, allocations: 39.53 kB / 0.6816 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6946, allocations: 486.9 kB / 0.6821 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6947, allocations: 4 kB / 0.6821 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6947, allocations: 0 / 0.6821 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6947, allocations: 3.984 kB / 0.6821 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.6976, allocations: 2.433 MB / 0.6845 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/0.6977, allocations: 7.984 kB / 0.6845 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.698, allocations: 59.91 kB / 0.6845 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.698, allocations: 0 / 0.6845 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.698, allocations: 15.94 kB / 0.6846 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.698, allocations: 4.188 kB / 0.6846 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.698, allocations: 4.281 kB / 0.6846 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.6988, allocations: 0.6432 MB / 0.6852 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.699, allocations: 128.5 kB / 0.6853 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.699, allocations: 15.84 kB / 0.6853 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.6995, allocations: 19.98 kB / 0.6853 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.6996, allocations: 31.91 kB / 0.6854 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.6996, allocations: 19.98 kB / 0.6854 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003969/0.7, allocations: 363.1 kB / 0.6857 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7, allocations: 0 / 0.6857 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001254/0.7013, allocations: 379.6 kB / 0.6861 GB, free: 7.918 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.7027, allocations: 0.5669 MB / 0.6867 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009356/0.7036, allocations: 474.6 kB / 0.6871 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7036, allocations: 0 / 0.6871 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.704, allocations: 171.8 kB / 0.6873 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.7054, allocations: 286.3 kB / 0.6875 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.7068, allocations: 0.7924 MB / 0.6883 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.7072, allocations: 0.8351 MB / 0.6891 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004203/0.7077, allocations: 116.2 kB / 0.6892 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.7078, allocations: 51.42 kB / 0.6893 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.7078, allocations: 3.938 kB / 0.6893 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of Templates: time 0.02482/0.7326, allocations: 16.05 MB / 0.705 GB, free: 4.52 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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)