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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001673, allocations: 183.9 kB / 16.4 MB, free: 5.75 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.164/2.164, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001208/0.001208, allocations: 89.86 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5253/0.5253, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004981, allocations: 19.98 kB / 431.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1586, allocations: 58.85 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.192/1.35, allocations: 243.7 MB / 0.7168 GB, free: 3.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.053/1.403, allocations: 26.83 MB / 0.743 GB, free: 2.727 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/1.408, allocations: 74.22 kB / 0.743 GB, free: 2.723 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006237/1.414, allocations: 0.8657 MB / 0.7439 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02668/1.441, allocations: 6.11 MB / 0.7499 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02463/1.465, allocations: 5.961 MB / 0.7557 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007886/1.473, allocations: 3.311 MB / 0.7589 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004289/1.478, allocations: 1.639 MB / 0.7605 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/1.489, allocations: 3.125 MB / 0.7636 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00626/1.495, allocations: 2.024 MB / 0.7655 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/1.497, allocations: 142.8 kB / 0.7657 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04268/1.539, allocations: 14.59 MB / 0.7799 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002847/1.542, allocations: 0.9811 MB / 0.7809 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/1.544, allocations: 0.5114 MB / 0.7814 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02496/1.569, allocations: 7.738 MB / 0.7889 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.569, allocations: 0 / 0.7889 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.018e-06/1.569, allocations: 0 / 0.7889 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000131/1.569, allocations: 6.625 kB / 0.7889 GB, free: 12.54 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.01797/1.587, allocations: 4.239 MB / 0.7931 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/1.587, allocations: 16.02 kB / 0.7931 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001334/1.589, allocations: 288 kB / 0.7934 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/1.591, allocations: 281 kB / 0.7936 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006497/1.598, allocations: 1.409 MB / 0.795 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/1.598, allocations: 147.5 kB / 0.7952 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/1.6, allocations: 184 kB / 0.7953 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/1.614, allocations: 3.153 MB / 0.7984 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/1.615, allocations: 0 / 0.7984 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005957/1.615, allocations: 85.81 kB / 0.7985 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005403/1.616, allocations: 190.9 kB / 0.7987 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.628, allocations: 3.558 MB / 0.8022 GB, free: 1.949 MB / 0.5105 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.0398/1.668, allocations: 12.75 MB / 0.8146 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006426/1.674, allocations: 1.832 MB / 0.8164 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/1.677, allocations: 1.681 MB / 0.818 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.815e-05/1.677, allocations: 59.84 kB / 0.8181 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003521/1.68, allocations: 345 kB / 0.8184 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 2.572e-05/1.681, allocations: 0 / 0.8184 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.05291/1.733, allocations: 9.192 MB / 0.8274 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.734, allocations: 201.9 kB / 0.8276 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004855/1.739, allocations: 2.014 MB / 0.8296 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007723/1.739, allocations: 65.08 kB / 0.8296 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.74, allocations: 0.8998 MB / 0.8305 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.742, allocations: 0.5872 MB / 0.8311 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/1.742, allocations: 44.31 kB / 0.8311 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002886/1.743, allocations: 403.5 kB / 0.8315 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.748, allocations: 1.335 MB / 0.8328 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/1.753, allocations: 1.717 MB / 0.8345 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/1.759, allocations: 1.587 MB / 0.836 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/1.759, allocations: 0 / 0.836 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01909/1.778, allocations: 4.09 MB / 0.84 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001572/1.78, allocations: 3.383 MB / 0.8433 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/1.78, allocations: 8 kB / 0.8433 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01436/1.795, allocations: 1.332 MB / 0.8446 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/1.8, allocations: 0.5046 MB / 0.8451 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/1.806, allocations: 2.132 MB / 0.8472 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.811, allocations: 198 kB / 0.8474 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.812, allocations: 161.4 kB / 0.8476 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.812, allocations: 6.734 kB / 0.8476 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01753/1.83, allocations: 3.632 MB / 0.8511 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.145e-05/1.83, allocations: 8 kB / 0.8511 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/1.84, allocations: 0.9734 MB / 0.8521 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/1.845, allocations: 0.5113 MB / 0.8526 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/1.851, allocations: 1.927 MB / 0.8544 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/1.855, allocations: 183.7 kB / 0.8546 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008744/1.856, allocations: 159.9 kB / 0.8548 GB, free: 5.449 MB / 0.5573 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.002666/1.859, allocations: 0.6443 MB / 0.8554 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.86, allocations: 221.4 kB / 0.8556 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/1.878, allocations: 4.276 MB / 0.8598 GB, free: 340 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/1.878, allocations: 24 kB / 0.8598 GB, free: 316 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.878, allocations: 0 / 0.8598 GB, free: 316 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-05/1.878, allocations: 7.969 kB / 0.8598 GB, free: 308 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/1.899, allocations: 6.079 MB / 0.8658 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.899, allocations: 4 kB / 0.8658 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/1.902, allocations: 333.6 kB / 0.8661 GB, free: 9.863 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/1.913, allocations: 1.188 MB / 0.8672 GB, free: 8.672 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006465/1.913, allocations: 78.39 kB / 0.8673 GB, free: 8.598 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/1.918, allocations: 2.048 MB / 0.8693 GB, free: 6.504 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.918, allocations: 10.69 kB / 0.8693 GB, free: 6.496 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.936, allocations: 5.131 MB / 0.8743 GB, free: 1.164 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.937, allocations: 366 kB / 0.8747 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.939, allocations: 49.84 kB / 0.8747 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004213/1.943, allocations: 155.9 kB / 0.8749 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008117/1.944, allocations: 148.3 kB / 0.875 GB, free: 452 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005467/1.944, allocations: 132.5 kB / 0.8751 GB, free: 320 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00365/1.948, allocations: 1.409 MB / 0.8765 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.42e-07/1.948, allocations: 4 kB / 0.8765 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01317/1.961, allocations: 2.83 MB / 0.8793 GB, free: 12.05 MB / 0.5886 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.03056/1.992, allocations: 9.161 MB / 0.8882 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0197/2.012, allocations: 5.139 MB / 0.8933 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/2.012, allocations: 7.156 kB / 0.8933 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005829/2.017, allocations: 1.489 MB / 0.8947 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/2.028, allocations: 1.231 MB / 0.8959 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3637/2.392, allocations: 13.59 MB / 0.9092 GB, free: 254.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/2.395, allocations: 1.707 MB / 0.9109 GB, free: 254 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003892/2.399, allocations: 1.006 MB / 0.9118 GB, free: 254 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/2.399, allocations: 3.562 kB / 0.9118 GB, free: 254 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.122/7.521, allocations: 96.05 MB / 1.006 GB, free: 201.2 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat