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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 100.9 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.0008927/0.0008928, allocations: 177.3 kB / 15.94 MB, free: 228 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.243/1.243, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2837/0.2837, allocations: 40 MB / 310.4 MB, free: 9.715 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.2. 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.0004874/0.0004875, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09286, allocations: 57.95 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3066/0.3995, allocations: 148.7 MB / 0.5717 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.4033, allocations: 3.298 MB / 0.5749 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.4036, allocations: 7.938 kB / 0.5749 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.4041, allocations: 155.2 kB / 0.5751 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.4045, allocations: 227.3 kB / 0.5753 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.4088, allocations: 1.603 MB / 0.5769 GB, free: 9.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.4095, allocations: 0.5394 MB / 0.5774 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.4099, allocations: 270.5 kB / 0.5777 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.4123, allocations: 1.216 MB / 0.5788 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.4126, allocations: 227.2 kB / 0.5791 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.4127, allocations: 23.94 kB / 0.5791 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.4167, allocations: 2.508 MB / 0.5815 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.4168, allocations: 159.6 kB / 0.5817 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.417, allocations: 113.5 kB / 0.5818 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.4188, allocations: 1.335 MB / 0.5831 GB, free: 2.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.4188, allocations: 0 / 0.5831 GB, free: 2.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4188, allocations: 4 kB / 0.5831 GB, free: 2.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4188, allocations: 4 kB / 0.5831 GB, free: 2.906 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.001508/0.4203, allocations: 0.9698 MB / 0.584 GB, free: 1.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4203, allocations: 12.02 kB / 0.5841 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.4206, allocations: 57 kB / 0.5841 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.4211, allocations: 354.2 kB / 0.5845 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.4211, allocations: 28.94 kB / 0.5845 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.4212, allocations: 40 kB / 0.5845 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.422, allocations: 0.5159 MB / 0.585 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.422, allocations: 4 kB / 0.585 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.4221, allocations: 16 kB / 0.585 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.4221, allocations: 8 kB / 0.585 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.4229, allocations: 0.5065 MB / 0.5855 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.4253, allocations: 1.98 MB / 0.5875 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.4259, allocations: 456.8 kB / 0.5879 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/0.4266, allocations: 0.9455 MB / 0.5888 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4267, allocations: 46.5 kB / 0.5889 GB, free: 12.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.4267, allocations: 0 / 0.5889 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.0009884/0.4277, allocations: 0.5042 MB / 0.5894 GB, free: 11.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.4277, allocations: 106.8 kB / 0.5895 GB, free: 11.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.4281, allocations: 401.5 kB / 0.5899 GB, free: 11.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.4282, allocations: 33.7 kB / 0.5899 GB, free: 11.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4283, allocations: 216.1 kB / 0.5901 GB, free: 11.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.4284, allocations: 102.5 kB / 0.5902 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.4284, allocations: 15.94 kB / 0.5902 GB, free: 11.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4285, allocations: 350.8 kB / 0.5905 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.4288, allocations: 160.6 kB / 0.5907 GB, free: 10.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.4292, allocations: 267.6 kB / 0.591 GB, free: 10.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.4296, allocations: 239.3 kB / 0.5912 GB, free: 10.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4296, allocations: 4 kB / 0.5912 GB, free: 10.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008897/0.4305, allocations: 0.5655 MB / 0.5917 GB, free: 9.426 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.4305, allocations: 59.78 kB / 0.5918 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4305, allocations: 11.98 kB / 0.5918 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4306, allocations: 4 kB / 0.5918 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.4309, allocations: 83.89 kB / 0.5919 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.431, allocations: 13.5 kB / 0.5919 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.4313, allocations: 55.42 kB / 0.592 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.4314, allocations: 31.94 kB / 0.592 GB, free: 9.16 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.0001868/0.4316, allocations: 181.8 kB / 0.5922 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.4317, allocations: 39.53 kB / 0.5922 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009516/0.4326, allocations: 0.4993 MB / 0.5927 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4326, allocations: 4 kB / 0.5927 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.4326, allocations: 0.75 kB / 0.5927 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4327, allocations: 240 / 0.5927 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.4353, allocations: 2.434 MB / 0.5951 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4353, allocations: 4 kB / 0.5951 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4356, allocations: 68.08 kB / 0.5951 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.4356, allocations: 4 kB / 0.5951 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.4357, allocations: 11.95 kB / 0.5951 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4357, allocations: 7.938 kB / 0.5952 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4357, allocations: 0 / 0.5952 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.4365, allocations: 0.7387 MB / 0.5959 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.4366, allocations: 152.4 kB / 0.596 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.4367, allocations: 8.562 kB / 0.596 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.4371, allocations: 23.97 kB / 0.5961 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.4372, allocations: 27.91 kB / 0.5961 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.4372, allocations: 24.05 kB / 0.5961 GB, free: 4.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.4376, allocations: 359 kB / 0.5964 GB, free: 4.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4376, allocations: 0 / 0.5964 GB, free: 4.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009651/0.4385, allocations: 379.6 kB / 0.5968 GB, free: 3.762 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.001104/0.4397, allocations: 0.5654 MB / 0.5974 GB, free: 3.195 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007337/0.4404, allocations: 479 kB / 0.5978 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4404, allocations: 4 kB / 0.5978 GB, free: 2.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.4407, allocations: 173.7 kB / 0.598 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.4419, allocations: 241.2 kB / 0.5982 GB, free: 2.301 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.443, allocations: 0.9309 MB / 0.5991 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4434, allocations: 0.8432 MB / 0.5999 GB, free: 472 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.4438, allocations: 112.8 kB / 0.6001 GB, free: 360 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.4439, allocations: 47.42 kB / 0.6001 GB, free: 316 kB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4439, allocations: 0 / 0.6001 GB, free: 316 kB / 462.1 MB Notification: Performance of Templates: time 0.02098/0.4649, allocations: 14.84 MB / 0.6146 GB, free: 1.5 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: