Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 99.62 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.001666/0.001666, allocations: 177.3 kB / 15.95 MB, free: 216 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.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.383/0.383, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0007718/0.0007722, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1467, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.9409/1.088, allocations: 243.7 MB / 0.6617 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04088/1.129, allocations: 26.85 MB / 0.6879 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/1.132, allocations: 71.97 kB / 0.688 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003822/1.136, allocations: 0.867 MB / 0.6888 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02732/1.164, allocations: 6.096 MB / 0.6948 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02883/1.192, allocations: 5.963 MB / 0.7006 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/1.203, allocations: 3.307 MB / 0.7038 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004986/1.208, allocations: 1.63 MB / 0.7054 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/1.222, allocations: 3.136 MB / 0.7085 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007276/1.229, allocations: 2.012 MB / 0.7105 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001895/1.231, allocations: 147.5 kB / 0.7106 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04548/1.276, allocations: 14.59 MB / 0.7249 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003073/1.279, allocations: 0.9819 MB / 0.7258 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002833/1.282, allocations: 0.5161 MB / 0.7263 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02758/1.31, allocations: 7.74 MB / 0.7339 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.31, allocations: 0 / 0.7339 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.697e-06/1.31, allocations: 2.531 kB / 0.7339 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001845/1.31, allocations: 4 kB / 0.7339 GB, free: 4.031 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01632/1.327, allocations: 4.243 MB / 0.738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.327, allocations: 11.97 kB / 0.738 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/1.329, allocations: 284.9 kB / 0.7383 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/1.333, allocations: 1.399 MB / 0.7397 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/1.333, allocations: 148.4 kB / 0.7398 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/1.334, allocations: 186 kB / 0.74 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/1.34, allocations: 3.152 MB / 0.7431 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/1.34, allocations: 3.984 kB / 0.7431 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/1.341, allocations: 87.06 kB / 0.7432 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002944/1.341, allocations: 189.2 kB / 0.7433 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00625/1.347, allocations: 3.557 MB / 0.7468 GB, free: 9.605 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/1.371, allocations: 12.75 MB / 0.7593 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/1.374, allocations: 1.841 MB / 0.7611 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/1.376, allocations: 1.683 MB / 0.7627 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.319e-05/1.376, allocations: 60.41 kB / 0.7628 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002275/1.378, allocations: 344.1 kB / 0.7631 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 6.613e-06/1.378, allocations: 0 / 0.7631 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=169): time 0.0274/1.406, allocations: 9.193 MB / 0.7721 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.406, allocations: 201.5 kB / 0.7723 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/1.409, allocations: 2.01 MB / 0.7742 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/1.409, allocations: 61.95 kB / 0.7743 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/1.41, allocations: 0.9738 MB / 0.7752 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/1.41, allocations: 0.5901 MB / 0.7758 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.411, allocations: 44.69 kB / 0.7759 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.411, allocations: 397 kB / 0.7762 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/1.413, allocations: 1.337 MB / 0.7775 GB, free: 204 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/1.416, allocations: 1.717 MB / 0.7792 GB, free: 14.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/1.419, allocations: 1.589 MB / 0.7808 GB, free: 13.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.419, allocations: 4 kB / 0.7808 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009585/1.429, allocations: 4.203 MB / 0.7849 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001593/1.43, allocations: 3.501 MB / 0.7883 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.43, allocations: 8 kB / 0.7883 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007284/1.438, allocations: 1.342 MB / 0.7896 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/1.44, allocations: 0.5088 MB / 0.7901 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/1.444, allocations: 2.139 MB / 0.7922 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.447, allocations: 184.8 kB / 0.7924 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004122/1.447, allocations: 174.2 kB / 0.7925 GB, free: 3.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.447, allocations: 4 kB / 0.7925 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007742/1.455, allocations: 3.626 MB / 0.7961 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.455, allocations: 8 kB / 0.7961 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/1.46, allocations: 0.9892 MB / 0.7971 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/1.463, allocations: 0.5095 MB / 0.7976 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.466, allocations: 1.934 MB / 0.7994 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.469, allocations: 183.2 kB / 0.7996 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/1.469, allocations: 161.8 kB / 0.7998 GB, free: 13.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 251 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001827/1.471, allocations: 0.6407 MB / 0.8004 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/1.472, allocations: 229.3 kB / 0.8006 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008336/1.48, allocations: 4.266 MB / 0.8048 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.48, allocations: 24.02 kB / 0.8048 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.48, allocations: 8 kB / 0.8048 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/1.48, allocations: 14.8 kB / 0.8048 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.492, allocations: 6.086 MB / 0.8108 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.492, allocations: 4 kB / 0.8108 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.494, allocations: 332.1 kB / 0.8111 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005831/1.5, allocations: 1.192 MB / 0.8123 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003629/1.5, allocations: 74.7 kB / 0.8123 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/1.503, allocations: 2.052 MB / 0.8143 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.503, allocations: 6.438 kB / 0.8143 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009368/1.513, allocations: 5.136 MB / 0.8194 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.514, allocations: 364.2 kB / 0.8197 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/1.514, allocations: 39.19 kB / 0.8197 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.516, allocations: 166.5 kB / 0.8199 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/1.517, allocations: 155.8 kB / 0.8201 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/1.517, allocations: 132.6 kB / 0.8202 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002205/1.519, allocations: 1.408 MB / 0.8216 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.519, allocations: 4 kB / 0.8216 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009574/1.529, allocations: 2.833 MB / 0.8243 GB, free: 10.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009297/1.538, allocations: 2.516 MB / 0.8268 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.551, allocations: 5.145 MB / 0.8318 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.451e-05/1.551, allocations: 5.281 kB / 0.8318 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003816/1.555, allocations: 1.493 MB / 0.8333 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007561/1.563, allocations: 1.232 MB / 0.8345 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.573, allocations: 5.374 MB / 0.8397 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.575, allocations: 1.717 MB / 0.8414 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005595/1.58, allocations: 1.264 MB / 0.8426 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.582, allocations: 279.3 kB / 0.8429 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of SimCode: time 1.543e-06/1.582, allocations: 0 / 0.8429 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of Templates: time 0.477/2.058, allocations: 92 MB / 0.9327 GB, free: 240.4 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) Environment - environmentSimulation: