Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.00161, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2842/0.2842, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007358/0.0007361, allocations: 15.98 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1426, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.344/1.486, allocations: 243.6 MB / 0.7167 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.08255/1.569, allocations: 26.84 MB / 0.7429 GB, free: 4.281 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/1.573, allocations: 75.31 kB / 0.743 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.006182/1.579, allocations: 0.8635 MB / 0.7438 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.04326/1.623, allocations: 6.106 MB / 0.7498 GB, free: 4.18 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.03945/1.662, allocations: 5.968 MB / 0.7556 GB, free: 4.09 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.673, allocations: 3.31 MB / 0.7588 GB, free: 4.082 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006047/1.679, allocations: 1.632 MB / 0.7604 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0157/1.695, allocations: 3.126 MB / 0.7635 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008352/1.703, allocations: 2.026 MB / 0.7654 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/1.705, allocations: 144.5 kB / 0.7656 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06067/1.766, allocations: 14.58 MB / 0.7798 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003819/1.77, allocations: 0.9849 MB / 0.7808 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/1.773, allocations: 0.5135 MB / 0.7813 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03521/1.808, allocations: 7.74 MB / 0.7888 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.808, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.897e-06/1.809, allocations: 4 kB / 0.7888 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001437/1.809, allocations: 4 kB / 0.7889 GB, free: 10.2 MB / 0.5105 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.02739/1.836, allocations: 4.242 MB / 0.793 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/1.836, allocations: 8.031 kB / 0.793 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/1.839, allocations: 296.8 kB / 0.7933 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006992/1.846, allocations: 1.394 MB / 0.7946 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/1.847, allocations: 146.7 kB / 0.7948 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.848, allocations: 184.1 kB / 0.795 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/1.865, allocations: 3.149 MB / 0.798 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/1.866, allocations: 4.812 kB / 0.798 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/1.867, allocations: 85.17 kB / 0.7981 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000644/1.867, allocations: 185.5 kB / 0.7983 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/1.886, allocations: 3.56 MB / 0.8018 GB, free: 15.78 MB / 0.5261 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.06045/1.946, allocations: 12.75 MB / 0.8142 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/1.956, allocations: 1.841 MB / 0.816 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003485/1.96, allocations: 1.678 MB / 0.8177 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/1.96, allocations: 58.52 kB / 0.8177 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004993/1.965, allocations: 350.6 kB / 0.8181 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 1.589e-05/1.965, allocations: 0 / 0.8181 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.08177/2.047, allocations: 9.186 MB / 0.827 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/2.047, allocations: 197.9 kB / 0.8272 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007494/2.054, allocations: 2.013 MB / 0.8292 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009496/2.056, allocations: 63.08 kB / 0.8292 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/2.057, allocations: 0.8999 MB / 0.8301 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001745/2.059, allocations: 0.5922 MB / 0.8307 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/2.06, allocations: 41.12 kB / 0.8307 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003986/2.06, allocations: 401.7 kB / 0.8311 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008369/2.069, allocations: 1.334 MB / 0.8324 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008738/2.077, allocations: 1.718 MB / 0.8341 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008933/2.086, allocations: 1.594 MB / 0.8357 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-05/2.087, allocations: 0 / 0.8357 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03004/2.117, allocations: 4.087 MB / 0.8396 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002029/2.119, allocations: 3.377 MB / 0.8429 GB, free: 13.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-05/2.119, allocations: 8 kB / 0.843 GB, free: 13.55 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02187/2.141, allocations: 1.341 MB / 0.8443 GB, free: 12.33 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007822/2.149, allocations: 0.5081 MB / 0.8448 GB, free: 11.87 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/2.157, allocations: 2.139 MB / 0.8468 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/2.165, allocations: 192.7 kB / 0.847 GB, free: 9.895 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/2.167, allocations: 164.2 kB / 0.8472 GB, free: 9.75 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/2.167, allocations: 6.969 kB / 0.8472 GB, free: 9.746 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02461/2.191, allocations: 3.625 MB / 0.8507 GB, free: 7.297 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/2.192, allocations: 8 kB / 0.8507 GB, free: 7.289 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/2.207, allocations: 0.9795 MB / 0.8517 GB, free: 6.41 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007835/2.215, allocations: 0.5117 MB / 0.8522 GB, free: 5.941 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/2.223, allocations: 1.923 MB / 0.8541 GB, free: 4.254 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00598/2.229, allocations: 178.6 kB / 0.8542 GB, free: 4.113 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/2.231, allocations: 165.8 kB / 0.8544 GB, free: 3.969 MB / 0.5574 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.003698/2.234, allocations: 0.6338 MB / 0.855 GB, free: 3.543 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/2.236, allocations: 229.2 kB / 0.8552 GB, free: 3.316 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02728/2.263, allocations: 4.268 MB / 0.8594 GB, free: 328 kB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/2.263, allocations: 24 kB / 0.8594 GB, free: 304 kB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/2.263, allocations: 0 / 0.8594 GB, free: 304 kB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/2.264, allocations: 11.95 kB / 0.8594 GB, free: 292 kB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0342/2.298, allocations: 6.086 MB / 0.8654 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/2.298, allocations: 6.438 kB / 0.8654 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005315/2.303, allocations: 339 kB / 0.8657 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01696/2.32, allocations: 1.193 MB / 0.8669 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008702/2.321, allocations: 77.69 kB / 0.867 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007562/2.329, allocations: 2.043 MB / 0.869 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/2.329, allocations: 12.02 kB / 0.869 GB, free: 8.871 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02801/2.357, allocations: 5.142 MB / 0.874 GB, free: 5.082 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/2.359, allocations: 360.1 kB / 0.8743 GB, free: 4.754 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/2.361, allocations: 46.8 kB / 0.8744 GB, free: 4.734 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006773/2.367, allocations: 169.3 kB / 0.8745 GB, free: 4.598 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/2.369, allocations: 142.9 kB / 0.8747 GB, free: 4.473 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009631/2.37, allocations: 128.8 kB / 0.8748 GB, free: 4.363 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005976/2.376, allocations: 1.415 MB / 0.8762 GB, free: 3.336 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.327e-06/2.376, allocations: 0 / 0.8762 GB, free: 3.336 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01909/2.395, allocations: 2.836 MB / 0.8789 GB, free: 0.7148 MB / 0.573 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.01752/2.412, allocations: 2.519 MB / 0.8814 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03045/2.443, allocations: 5.142 MB / 0.8864 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.773e-05/2.443, allocations: 9.219 kB / 0.8864 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/2.449, allocations: 1.49 MB / 0.8879 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01081/2.46, allocations: 1.237 MB / 0.8891 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/2.476, allocations: 5.513 MB / 0.8945 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/2.478, allocations: 1.709 MB / 0.8962 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/2.481, allocations: 324.6 kB / 0.8965 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of SimCode: time 1.833e-06/2.481, allocations: 0 / 0.8965 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of Templates: time 0.5584/3.039, allocations: 86.29 MB / 0.9807 GB, free: 288.4 MB / 0.6355 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1)