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.000802/0.0008022, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001024/0.001024, allocations: 172.7 kB / 15.95 MB, free: 208 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.244/1.244, allocations: 205.4 MB / 222.1 MB, free: 5.332 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.2645/0.2645, allocations: 38.03 MB / 308.4 MB, free: 10.68 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.0005911/0.0005912, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09188, allocations: 57.53 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3085/0.4005, allocations: 169.5 MB / 0.5894 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.402, allocations: 0.8918 MB / 0.5902 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.4022, allocations: 7.938 kB / 0.5902 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.4026, allocations: 143 kB / 0.5904 GB, free: 13.8 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.4031, allocations: 286.4 kB / 0.5906 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.407, allocations: 1.601 MB / 0.5922 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.4082, allocations: 1.107 MB / 0.5933 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.4085, allocations: 251.8 kB / 0.5935 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.4116, allocations: 1.471 MB / 0.595 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.4119, allocations: 310.9 kB / 0.5953 GB, free: 8.805 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.412, allocations: 20 kB / 0.5953 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.4157, allocations: 2.449 MB / 0.5977 GB, free: 6.332 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.4158, allocations: 171.5 kB / 0.5978 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.4159, allocations: 113.5 kB / 0.5979 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.4175, allocations: 1.376 MB / 0.5993 GB, free: 4.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4175, allocations: 4 kB / 0.5993 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4175, allocations: 3.938 kB / 0.5993 GB, free: 4.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4175, allocations: 4 kB / 0.5993 GB, free: 4.656 MB / 462.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.001398/0.4189, allocations: 0.9676 MB / 0.6002 GB, free: 3.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.419, allocations: 12.03 kB / 0.6003 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.4192, allocations: 55.44 kB / 0.6003 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.4196, allocations: 358.1 kB / 0.6006 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.4196, allocations: 29 kB / 0.6007 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.4197, allocations: 36 kB / 0.6007 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.4205, allocations: 0.5282 MB / 0.6012 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4205, allocations: 11.52 kB / 0.6012 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.4206, allocations: 20 kB / 0.6013 GB, free: 2.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.4206, allocations: 8 kB / 0.6013 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.4214, allocations: 0.4957 MB / 0.6017 GB, free: 2.031 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.4236, allocations: 1.972 MB / 0.6037 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.4242, allocations: 460.7 kB / 0.6041 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.4245, allocations: 186.5 kB / 0.6043 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.4252, allocations: 0.9455 MB / 0.6052 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4252, allocations: 42.55 kB / 0.6053 GB, free: 14.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.4253, allocations: 3.938 kB / 0.6053 GB, free: 14.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=30): time 0.0009528/0.4262, allocations: 0.5076 MB / 0.6058 GB, free: 13.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4263, allocations: 110.8 kB / 0.6059 GB, free: 13.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.4266, allocations: 397.7 kB / 0.6062 GB, free: 12.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.4267, allocations: 37.7 kB / 0.6063 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4268, allocations: 216.1 kB / 0.6065 GB, free: 12.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.4269, allocations: 106.5 kB / 0.6066 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.4269, allocations: 8 kB / 0.6066 GB, free: 12.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4271, allocations: 350.8 kB / 0.6069 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.4273, allocations: 152.6 kB / 0.6071 GB, free: 12.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.4277, allocations: 266 kB / 0.6073 GB, free: 11.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.428, allocations: 246 kB / 0.6076 GB, free: 11.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.428, allocations: 0 / 0.6076 GB, free: 11.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008587/0.4289, allocations: 0.5587 MB / 0.6081 GB, free: 10.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.429, allocations: 63.39 kB / 0.6082 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.429, allocations: 4.75 kB / 0.6082 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.429, allocations: 8 kB / 0.6082 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.4293, allocations: 87.83 kB / 0.6083 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4294, allocations: 4 kB / 0.6083 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.4297, allocations: 67.78 kB / 0.6083 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.4297, allocations: 23.95 kB / 0.6084 GB, free: 10.72 MB / 478.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.0001831/0.4299, allocations: 190.7 kB / 0.6085 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.43, allocations: 43.53 kB / 0.6086 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.4309, allocations: 0.4907 MB / 0.6091 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.431, allocations: 4 kB / 0.6091 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.431, allocations: 4 kB / 0.6091 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.431, allocations: 0 / 0.6091 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.4334, allocations: 2.441 MB / 0.6114 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4334, allocations: 7.938 kB / 0.6115 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.4337, allocations: 63.91 kB / 0.6115 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4337, allocations: 4 kB / 0.6115 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4337, allocations: 15.94 kB / 0.6115 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4337, allocations: 4 kB / 0.6115 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4337, allocations: 0 / 0.6115 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.4344, allocations: 0.642 MB / 0.6122 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4345, allocations: 148.5 kB / 0.6123 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.4346, allocations: 11.98 kB / 0.6123 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.435, allocations: 35.84 kB / 0.6124 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.4351, allocations: 27.91 kB / 0.6124 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.4351, allocations: 19.98 kB / 0.6124 GB, free: 6.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.4355, allocations: 359.1 kB / 0.6127 GB, free: 5.809 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4355, allocations: 0 / 0.6127 GB, free: 5.809 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009023/0.4364, allocations: 367.8 kB / 0.6131 GB, free: 5.449 MB / 478.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.001035/0.4374, allocations: 0.5711 MB / 0.6136 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.4381, allocations: 483 kB / 0.6141 GB, free: 4.387 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4381, allocations: 4 kB / 0.6141 GB, free: 4.383 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.4384, allocations: 171.8 kB / 0.6143 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4396, allocations: 246.8 kB / 0.6145 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.4407, allocations: 0.9308 MB / 0.6154 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.4411, allocations: 0.8354 MB / 0.6162 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.4415, allocations: 110.2 kB / 0.6163 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4416, allocations: 51.42 kB / 0.6164 GB, free: 1.984 MB / 478.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4416, allocations: 0 / 0.6164 GB, free: 1.984 MB / 478.1 MB Notification: Performance of Templates: time 0.01962/0.4612, allocations: 14.86 MB / 0.6309 GB, free: 3.152 MB / 494.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: