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.008388/0.008388, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001534/0.001534, allocations: 195.4 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.185/0.185, allocations: 37.99 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.00294/0.00294, allocations: 73.61 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1291, allocations: 56.46 MB / 489.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.43/0.5592, allocations: 186.3 MB / 0.6599 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.5621, allocations: 0.9007 MB / 0.6608 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.5626, allocations: 7.938 kB / 0.6608 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009912/0.5636, allocations: 206.7 kB / 0.661 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.5648, allocations: 294.3 kB / 0.6613 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009215/0.574, allocations: 2.153 MB / 0.6634 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.5761, allocations: 0.9828 MB / 0.6643 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5771, allocations: 339.5 kB / 0.6646 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007497/0.5846, allocations: 1.702 MB / 0.6663 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009721/0.5856, allocations: 318.8 kB / 0.6666 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.5859, allocations: 48 kB / 0.6667 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007596/0.5935, allocations: 2.937 MB / 0.6695 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005511/0.5941, allocations: 195.5 kB / 0.6697 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000736/0.5948, allocations: 274.8 kB / 0.67 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006177/0.601, allocations: 2.116 MB / 0.672 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6011, allocations: 0 / 0.672 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.918e-06/0.6011, allocations: 0 / 0.672 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.6011, allocations: 3.938 kB / 0.672 GB, free: 7.418 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.003346/0.6045, allocations: 1.06 MB / 0.6731 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.6046, allocations: 11.89 kB / 0.6731 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.6051, allocations: 59.38 kB / 0.6731 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.606, allocations: 378 kB / 0.6735 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.6061, allocations: 29 kB / 0.6735 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.6062, allocations: 40 kB / 0.6736 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.6077, allocations: 0.5275 MB / 0.6741 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6077, allocations: 0 / 0.6741 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.6078, allocations: 16 kB / 0.6741 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.6079, allocations: 8 kB / 0.6741 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.6094, allocations: 0.4917 MB / 0.6746 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.6137, allocations: 1.957 MB / 0.6765 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.6147, allocations: 465.3 kB / 0.6769 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.6152, allocations: 182.5 kB / 0.6771 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.6165, allocations: 0.9494 MB / 0.678 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.6166, allocations: 46.5 kB / 0.6781 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 3.476e-06/0.6166, allocations: 4 kB / 0.6781 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001787/0.6184, allocations: 496.9 kB / 0.6786 GB, free: 192 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.6185, allocations: 110.8 kB / 0.6787 GB, free: 56 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.6192, allocations: 397.6 kB / 0.6791 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.6194, allocations: 41.64 kB / 0.6791 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.6196, allocations: 216 kB / 0.6793 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.6197, allocations: 110.5 kB / 0.6794 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.6199, allocations: 74.06 kB / 0.6795 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6201, allocations: 350.8 kB / 0.6798 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.6206, allocations: 148.6 kB / 0.6799 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.6212, allocations: 262 kB / 0.6802 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6223, allocations: 485 kB / 0.6807 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.6223, allocations: 4 kB / 0.6807 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001535/0.6239, allocations: 0.5588 MB / 0.6812 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.624, allocations: 62.06 kB / 0.6813 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.624, allocations: 0 / 0.6813 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.624, allocations: 8 kB / 0.6813 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.6246, allocations: 83.83 kB / 0.6814 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.6247, allocations: 11.98 kB / 0.6814 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.6251, allocations: 43.5 kB / 0.6814 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.6252, allocations: 23.98 kB / 0.6814 GB, free: 13.05 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.0002648/0.6255, allocations: 201.7 kB / 0.6816 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.6256, allocations: 39.53 kB / 0.6817 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.6272, allocations: 482.2 kB / 0.6821 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6272, allocations: 4 kB / 0.6821 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6272, allocations: 4 kB / 0.6821 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6273, allocations: 0 / 0.6821 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.6318, allocations: 2.441 MB / 0.6845 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6318, allocations: 0 / 0.6845 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.6323, allocations: 59.91 kB / 0.6846 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.6323, allocations: 4.188 kB / 0.6846 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.6323, allocations: 19.92 kB / 0.6846 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.6324, allocations: 4 kB / 0.6846 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.6324, allocations: 5.641 kB / 0.6846 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6336, allocations: 0.6393 MB / 0.6852 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.6338, allocations: 124.6 kB / 0.6853 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.634, allocations: 15.84 kB / 0.6854 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.6347, allocations: 28.03 kB / 0.6854 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6348, allocations: 27.91 kB / 0.6854 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.6349, allocations: 23.98 kB / 0.6854 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006159/0.6355, allocations: 363.1 kB / 0.6858 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6355, allocations: 3.938 kB / 0.6858 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001935/0.6375, allocations: 375.7 kB / 0.6861 GB, free: 7.805 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.002207/0.6397, allocations: 0.5697 MB / 0.6867 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.6411, allocations: 470.6 kB / 0.6872 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6411, allocations: 0 / 0.6872 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.6416, allocations: 164.8 kB / 0.6873 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.6438, allocations: 301.1 kB / 0.6876 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.646, allocations: 0.7808 MB / 0.6884 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.6467, allocations: 0.8429 MB / 0.6892 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006784/0.6474, allocations: 112.2 kB / 0.6893 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6476, allocations: 43.42 kB / 0.6893 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6476, allocations: 7.938 kB / 0.6893 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of Templates: time 0.04066/0.6883, allocations: 16.05 MB / 0.705 GB, free: 4.406 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)