Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.001082/0.001082, allocations: 108.8 kB / 18.45 MB, free: 4.602 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.001174/0.001174, allocations: 187 kB / 19.39 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3849, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.7416/1.127, allocations: 313.6 MB / 0.8258 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02778/1.154, allocations: 23.19 MB / 0.8485 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/1.157, allocations: 61.5 kB / 0.8485 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003012/1.16, allocations: 1.121 MB / 0.8496 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02198/1.182, allocations: 7.123 MB / 0.8566 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02265/1.205, allocations: 8.441 MB / 0.8648 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008985/1.214, allocations: 6.208 MB / 0.8709 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/1.217, allocations: 2.077 MB / 0.8729 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/1.225, allocations: 4.088 MB / 0.8769 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004936/1.23, allocations: 2.858 MB / 0.8797 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008715/1.231, allocations: 288 kB / 0.88 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03068/1.262, allocations: 16.2 MB / 0.8958 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002515/1.264, allocations: 1.214 MB / 0.897 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/1.267, allocations: 1.498 MB / 0.8985 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02995/1.297, allocations: 11.84 MB / 0.91 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.297, allocations: 4 kB / 0.91 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.502e-06/1.297, allocations: 0 / 0.91 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.129e-05/1.297, allocations: 0 / 0.91 GB, free: 14.5 MB / 0.6387 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.01125/1.308, allocations: 4.68 MB / 0.9146 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.308, allocations: 8.031 kB / 0.9146 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/1.309, allocations: 284.9 kB / 0.9149 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/1.312, allocations: 1.524 MB / 0.9164 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.312, allocations: 146.2 kB / 0.9165 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/1.312, allocations: 180.4 kB / 0.9167 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/1.317, allocations: 3.147 MB / 0.9197 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/1.317, allocations: 3.906 kB / 0.9198 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/1.318, allocations: 83.41 kB / 0.9198 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/1.318, allocations: 187.7 kB / 0.92 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005834/1.324, allocations: 3.513 MB / 0.9234 GB, free: 0.7109 MB / 0.6387 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.02162/1.345, allocations: 12.81 MB / 0.936 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/1.349, allocations: 1.717 MB / 0.9376 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/1.351, allocations: 1.126 MB / 0.9387 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.352, allocations: 1.668 MB / 0.9404 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/1.352, allocations: 63.88 kB / 0.9404 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001216/1.353, allocations: 298.2 kB / 0.9407 GB, free: 13.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=153): time 7.133e-06/1.353, allocations: 0 / 0.9407 GB, free: 13.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=165): time 0.02656/1.38, allocations: 8.872 MB / 0.9494 GB, free: 4.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/1.38, allocations: 201.2 kB / 0.9496 GB, free: 4.672 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/1.383, allocations: 2.072 MB / 0.9516 GB, free: 2.559 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002673/1.384, allocations: 65.64 kB / 0.9516 GB, free: 2.488 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/1.384, allocations: 0.9846 MB / 0.9526 GB, free: 1.496 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005853/1.385, allocations: 0.5746 MB / 0.9532 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/1.386, allocations: 0.4919 MB / 0.9536 GB, free: 436 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.386, allocations: 305.1 kB / 0.9539 GB, free: 128 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/1.389, allocations: 1.349 MB / 0.9553 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/1.392, allocations: 1.726 MB / 0.9569 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00543/1.397, allocations: 3.007 MB / 0.9599 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.397, allocations: 4 kB / 0.9599 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008792/1.406, allocations: 3.954 MB / 0.9637 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-05/1.406, allocations: 63.41 kB / 0.9638 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.406, allocations: 8 kB / 0.9638 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007454/1.414, allocations: 1.293 MB / 0.9651 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/1.416, allocations: 499.2 kB / 0.9656 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/1.42, allocations: 2.112 MB / 0.9676 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.422, allocations: 112 kB / 0.9677 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004738/1.423, allocations: 131.9 kB / 0.9678 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003711/1.427, allocations: 1.73 MB / 0.9695 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003143/1.43, allocations: 1.693 MB / 0.9712 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00552/1.435, allocations: 2.925 MB / 0.974 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.387e-05/1.435, allocations: 4 kB / 0.974 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=280) (initialization_lambda0): time 0.0107/1.446, allocations: 4.049 MB / 0.978 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/1.446, allocations: 71.39 kB / 0.9781 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.446, allocations: 8 kB / 0.9781 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005216/1.451, allocations: 0.929 MB / 0.979 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.454, allocations: 0.4954 MB / 0.9795 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/1.457, allocations: 1.893 MB / 0.9813 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.459, allocations: 116 kB / 0.9814 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/1.46, allocations: 132.1 kB / 0.9816 GB, free: 3.059 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (4,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0009865/1.461, allocations: 307.6 kB / 0.9818 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/1.462, allocations: 229.4 kB / 0.9821 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2911/1.753, allocations: 4.16 MB / 0.9861 GB, free: 310.4 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/1.753, allocations: 8.672 kB / 0.9861 GB, free: 310.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.753, allocations: 1.438 kB / 0.9861 GB, free: 310.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/1.754, allocations: 296.9 kB / 0.9864 GB, free: 310.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/1.754, allocations: 41.94 kB / 0.9865 GB, free: 310.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.756, allocations: 99.61 kB / 0.9866 GB, free: 310.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/1.756, allocations: 124.3 kB / 0.9867 GB, free: 310.3 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008731/1.765, allocations: 3.029 MB / 0.9896 GB, free: 309.4 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006953/1.772, allocations: 3.873 MB / 0.9934 GB, free: 308 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001903/1.774, allocations: 1.104 MB / 0.9945 GB, free: 307.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002255/1.776, allocations: 1.545 MB / 0.996 GB, free: 307 MB / 0.7012 GB Notification: Performance of Backend: time 4.31e-07/1.776, allocations: 4.281 kB / 0.996 GB, free: 307 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01905/1.795, allocations: 7.592 MB / 1.003 GB, free: 305.2 MB / 0.7012 GB Notification: Performance of SimCode: time 0.007596/1.803, allocations: 5.175 MB / 1.008 GB, free: 302.8 MB / 0.7012 GB Notification: Performance of Templates: time 0.1464/1.95, allocations: 127.5 MB / 1.133 GB, free: 184.3 MB / 0.7012 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1)