Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.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 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 174.4 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4421/0.4421, allocations: 43.55 MB / 314.5 MB, free: 8.727 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: Performance of FrontEnd - loaded program: time 0.0006328/0.0006329, allocations: 19.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1682, allocations: 58.84 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.134/1.302, allocations: 243.7 MB / 0.6704 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04668/1.349, allocations: 26.83 MB / 0.6966 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/1.352, allocations: 71.25 kB / 0.6967 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/1.356, allocations: 0.8709 MB / 0.6975 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03155/1.388, allocations: 6.095 MB / 0.7035 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02496/1.413, allocations: 5.969 MB / 0.7093 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008874/1.422, allocations: 3.31 MB / 0.7126 GB, free: 76 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/1.426, allocations: 1.632 MB / 0.7142 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/1.436, allocations: 3.127 MB / 0.7172 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006394/1.443, allocations: 2.022 MB / 0.7192 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001108/1.444, allocations: 141.7 kB / 0.7193 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03843/1.482, allocations: 14.58 MB / 0.7336 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003332/1.486, allocations: 0.9809 MB / 0.7345 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002567/1.488, allocations: 0.5181 MB / 0.735 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02591/1.514, allocations: 7.747 MB / 0.7426 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.514, allocations: 0 / 0.7426 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.647e-06/1.514, allocations: 0 / 0.7426 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001427/1.514, allocations: 4 kB / 0.7426 GB, free: 14.65 MB / 0.5137 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.01511/1.53, allocations: 4.248 MB / 0.7467 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/1.53, allocations: 12.02 kB / 0.7468 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001392/1.531, allocations: 284.2 kB / 0.747 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/1.532, allocations: 285 kB / 0.7473 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/1.535, allocations: 1.403 MB / 0.7487 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/1.536, allocations: 153.7 kB / 0.7488 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/1.536, allocations: 179.6 kB / 0.749 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005988/1.542, allocations: 3.158 MB / 0.7521 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.058e-05/1.542, allocations: 4 kB / 0.7521 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/1.542, allocations: 76.23 kB / 0.7521 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002754/1.543, allocations: 194.4 kB / 0.7523 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006551/1.549, allocations: 3.557 MB / 0.7558 GB, free: 4.051 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.0258/1.575, allocations: 12.76 MB / 0.7683 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/1.578, allocations: 1.832 MB / 0.7701 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/1.58, allocations: 1.677 MB / 0.7717 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.316e-05/1.58, allocations: 55.62 kB / 0.7717 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002256/1.583, allocations: 345.2 kB / 0.7721 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 7.223e-06/1.583, allocations: 0 / 0.7721 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=169): time 0.0301/1.613, allocations: 9.192 MB / 0.781 GB, free: 14.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.613, allocations: 205.6 kB / 0.7812 GB, free: 14.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/1.617, allocations: 2.013 MB / 0.7832 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/1.617, allocations: 63.14 kB / 0.7833 GB, free: 12.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007748/1.618, allocations: 0.9709 MB / 0.7842 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006839/1.618, allocations: 0.5859 MB / 0.7848 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/1.619, allocations: 43.12 kB / 0.7848 GB, free: 11.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.619, allocations: 395.2 kB / 0.7852 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/1.622, allocations: 1.33 MB / 0.7865 GB, free: 10.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/1.625, allocations: 1.717 MB / 0.7882 GB, free: 9.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/1.627, allocations: 1.597 MB / 0.7897 GB, free: 8.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/1.627, allocations: 8 kB / 0.7898 GB, free: 8.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01021/1.638, allocations: 4.205 MB / 0.7939 GB, free: 5.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001798/1.639, allocations: 3.504 MB / 0.7973 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.639, allocations: 8 kB / 0.7973 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007617/1.647, allocations: 1.332 MB / 0.7986 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/1.65, allocations: 0.5159 MB / 0.7991 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/1.654, allocations: 2.137 MB / 0.8012 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.657, allocations: 188.5 kB / 0.8014 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/1.658, allocations: 167.1 kB / 0.8015 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.658, allocations: 10.97 kB / 0.8015 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007853/1.666, allocations: 3.623 MB / 0.8051 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/1.666, allocations: 11.95 kB / 0.8051 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/1.671, allocations: 0.9855 MB / 0.806 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/1.674, allocations: 0.5121 MB / 0.8065 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/1.677, allocations: 1.94 MB / 0.8084 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/1.68, allocations: 187.3 kB / 0.8086 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004569/1.681, allocations: 163.5 kB / 0.8088 GB, free: 7.938 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.001738/1.682, allocations: 0.6248 MB / 0.8094 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/1.683, allocations: 232.3 kB / 0.8096 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008726/1.692, allocations: 4.269 MB / 0.8138 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/1.692, allocations: 20 kB / 0.8138 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.692, allocations: 0 / 0.8138 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/1.692, allocations: 15.91 kB / 0.8138 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.704, allocations: 6.086 MB / 0.8197 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.704, allocations: 4 kB / 0.8198 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.706, allocations: 333.1 kB / 0.8201 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/1.712, allocations: 1.2 MB / 0.8212 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004977/1.712, allocations: 71.95 kB / 0.8213 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/1.715, allocations: 2.047 MB / 0.8233 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.715, allocations: 6.719 kB / 0.8233 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.726, allocations: 5.146 MB / 0.8283 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.727, allocations: 354.2 kB / 0.8287 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/1.728, allocations: 47.98 kB / 0.8287 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.73, allocations: 159.8 kB / 0.8289 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/1.73, allocations: 148.8 kB / 0.829 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/1.731, allocations: 139.9 kB / 0.8292 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00232/1.733, allocations: 1.405 MB / 0.8305 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.733, allocations: 0 / 0.8305 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01202/1.745, allocations: 2.834 MB / 0.8333 GB, free: 320 kB / 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.01976/1.765, allocations: 9.136 MB / 0.8422 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.777, allocations: 5.15 MB / 0.8472 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.16e-05/1.777, allocations: 5.281 kB / 0.8472 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.781, allocations: 1.493 MB / 0.8487 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006945/1.788, allocations: 1.231 MB / 0.8499 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.807, allocations: 13.45 MB / 0.863 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2664/2.073, allocations: 1.712 MB / 0.8647 GB, free: 259.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005516/2.079, allocations: 1.26 MB / 0.866 GB, free: 259.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/2.081, allocations: 0.9678 MB / 0.8669 GB, free: 259.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/2.081, allocations: 0 / 0.8669 GB, free: 259.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1874/2.268, allocations: 113.4 MB / 0.9776 GB, free: 186.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/2.268, allocations: 273.5 kB / 0.9779 GB, free: 186 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.374/8.643, allocations: 0 / 0.9779 GB, free: 186 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) Environment - environmentSimulation: