Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 113.9 kB / 18.45 MB, free: 4.617 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.001322/0.001322, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.416/1.416, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.209/0.209, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.2156/0.5611, allocations: 197.7 MB / 0.7127 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3461/0.9073, allocations: 14.55 MB / 0.7269 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.9087, allocations: 32.25 kB / 0.7269 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.9103, allocations: 0.5643 MB / 0.7274 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009137/0.9195, allocations: 3.354 MB / 0.7307 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0118/0.9313, allocations: 3.802 MB / 0.7344 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005009/0.9363, allocations: 3.284 MB / 0.7376 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.9385, allocations: 1.675 MB / 0.7393 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.9421, allocations: 1.901 MB / 0.7411 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005679/0.9478, allocations: 3.583 MB / 0.7446 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.9482, allocations: 186.7 kB / 0.7448 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009536/0.9578, allocations: 5.049 MB / 0.7497 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.9588, allocations: 0.9465 MB / 0.7507 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.9603, allocations: 1.086 MB / 0.7517 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.9764, allocations: 5.884 MB / 0.7575 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.9764, allocations: 2.281 kB / 0.7575 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9764, allocations: 1.156 kB / 0.7575 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001265/0.9766, allocations: 0 / 0.7575 GB, free: 1.07 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01529/0.9919, allocations: 2.919 MB / 0.7603 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9919, allocations: 10.19 kB / 0.7603 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.9965, allocations: 476.8 kB / 0.7608 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.9989, allocations: 1.158 MB / 0.7619 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/0.999, allocations: 91.56 kB / 0.762 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.9993, allocations: 112.2 kB / 0.7621 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/1.004, allocations: 2.863 MB / 0.7649 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.004, allocations: 0 / 0.7649 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/1.004, allocations: 56.81 kB / 0.765 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/1.004, allocations: 145.3 kB / 0.7651 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/1.01, allocations: 3.534 MB / 0.7686 GB, free: 15.15 MB / 0.5762 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.0159/1.025, allocations: 8.508 MB / 0.7769 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/1.029, allocations: 1.564 MB / 0.7784 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/1.03, allocations: 0.8133 MB / 0.7792 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.031, allocations: 0.9202 MB / 0.7801 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/1.031, allocations: 53.92 kB / 0.7801 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001823/1.033, allocations: 470.5 kB / 0.7806 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 4.408e-06/1.033, allocations: 3.812 kB / 0.7806 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.01438/1.048, allocations: 4.304 MB / 0.7848 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/1.048, allocations: 141.9 kB / 0.7849 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/1.051, allocations: 1.683 MB / 0.7866 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002313/1.051, allocations: 40.08 kB / 0.7866 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/1.051, allocations: 0.6586 MB / 0.7873 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/1.052, allocations: 278.5 kB / 0.7875 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/1.052, allocations: 279.9 kB / 0.7878 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.052, allocations: 347 kB / 0.7881 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/1.054, allocations: 0.9069 MB / 0.789 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.056, allocations: 1.095 MB / 0.7901 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/1.059, allocations: 1.957 MB / 0.792 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.059, allocations: 7.188 kB / 0.792 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004931/1.064, allocations: 2.76 MB / 0.7947 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/1.064, allocations: 4 kB / 0.7947 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/1.064, allocations: 15.94 kB / 0.7947 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02039/1.084, allocations: 3.551 MB / 0.7982 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.086, allocations: 189.2 kB / 0.7983 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/1.09, allocations: 2.262 MB / 0.8006 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.092, allocations: 55.98 kB / 0.8006 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/1.092, allocations: 79.94 kB / 0.8007 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002381/1.095, allocations: 1.236 MB / 0.8019 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001744/1.096, allocations: 1.083 MB / 0.803 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003089/1.1, allocations: 1.893 MB / 0.8048 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.973e-06/1.1, allocations: 4 kB / 0.8048 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.004859/1.104, allocations: 2.374 MB / 0.8071 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.104, allocations: 15.92 kB / 0.8071 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.104, allocations: 8 kB / 0.8071 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006978/1.105, allocations: 168 kB / 0.8073 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.107, allocations: 272.3 kB / 0.8076 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/1.11, allocations: 2.353 MB / 0.8099 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.111, allocations: 63.94 kB / 0.8099 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.112, allocations: 83.92 kB / 0.81 GB, free: 0.6914 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,34)} Notification: Performance of prepare postOptimizeDAE: time 0.0005494/1.112, allocations: 242 kB / 0.8102 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006011/1.113, allocations: 163 kB / 0.8104 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/1.119, allocations: 3.37 MB / 0.8137 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.119, allocations: 0 / 0.8137 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.119, allocations: 3.984 kB / 0.8137 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/1.119, allocations: 248.1 kB / 0.8139 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.12, allocations: 12 kB / 0.8139 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.121, allocations: 59.94 kB / 0.814 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.122, allocations: 52.58 kB / 0.814 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005282/1.127, allocations: 2.016 MB / 0.816 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003845/1.131, allocations: 2.315 MB / 0.8183 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/1.132, allocations: 0.6131 MB / 0.8189 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002336/1.134, allocations: 1.192 MB / 0.82 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of Backend: time 8.82e-07/1.134, allocations: 0 / 0.82 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.148, allocations: 4.161 MB / 0.8241 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of SimCode: time 0.008464/1.156, allocations: 3.902 MB / 0.8279 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.1118/1.268, allocations: 73.08 MB / 0.8993 GB, free: 5.699 MB / 0.6856 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)