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.001142/0.001142, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.001206/0.001206, allocations: 186.1 kB / 19.39 MB, free: 3.672 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.374/1.374, 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.2117/0.2117, allocations: 44.19 MB / 337.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3478, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.2178/0.5656, allocations: 197.7 MB / 0.7127 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3881/0.9537, allocations: 14.55 MB / 0.7269 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.9553, allocations: 34.59 kB / 0.7269 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.9569, allocations: 0.5609 MB / 0.7275 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009584/0.9665, allocations: 3.353 MB / 0.7307 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.9774, allocations: 3.806 MB / 0.7344 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005778/0.9832, allocations: 3.28 MB / 0.7376 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.9856, allocations: 1.68 MB / 0.7393 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.9895, allocations: 1.896 MB / 0.7411 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00614/0.9957, allocations: 3.583 MB / 0.7446 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005248/0.9962, allocations: 186.2 kB / 0.7448 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/1.007, allocations: 5.047 MB / 0.7497 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001277/1.008, allocations: 0.9462 MB / 0.7507 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/1.01, allocations: 1.09 MB / 0.7517 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/1.023, allocations: 5.882 MB / 0.7575 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.023, allocations: 5.141 kB / 0.7575 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.106e-06/1.023, allocations: 0 / 0.7575 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.4e-05/1.023, allocations: 1.203 kB / 0.7575 GB, free: 1.09 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.01376/1.037, allocations: 2.913 MB / 0.7603 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/1.037, allocations: 11.41 kB / 0.7603 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/1.041, allocations: 479.1 kB / 0.7608 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/1.044, allocations: 1.157 MB / 0.7619 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/1.044, allocations: 89.92 kB / 0.762 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/1.044, allocations: 116.4 kB / 0.7621 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004951/1.049, allocations: 2.862 MB / 0.7649 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/1.049, allocations: 0 / 0.7649 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/1.049, allocations: 54.31 kB / 0.765 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/1.049, allocations: 143.3 kB / 0.7651 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00545/1.055, allocations: 3.537 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.01549/1.07, allocations: 8.508 MB / 0.7769 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/1.073, allocations: 1.563 MB / 0.7784 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/1.074, allocations: 0.811 MB / 0.7792 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.076, allocations: 0.9251 MB / 0.7801 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/1.076, allocations: 52.2 kB / 0.7801 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001664/1.077, allocations: 470.6 kB / 0.7806 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 4.047e-06/1.077, allocations: 3 kB / 0.7806 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.01308/1.091, allocations: 4.307 MB / 0.7848 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/1.091, allocations: 137.2 kB / 0.7849 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/1.093, allocations: 1.686 MB / 0.7866 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/1.093, allocations: 45.28 kB / 0.7866 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/1.094, allocations: 0.6547 MB / 0.7873 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/1.094, allocations: 280.1 kB / 0.7875 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005226/1.094, allocations: 272.4 kB / 0.7878 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.095, allocations: 351.7 kB / 0.7881 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.096, allocations: 0.9096 MB / 0.789 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.098, allocations: 1.097 MB / 0.7901 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/1.1, allocations: 1.961 MB / 0.792 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.101, allocations: 0 / 0.792 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004571/1.105, allocations: 2.759 MB / 0.7947 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.105, allocations: 8 kB / 0.7947 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.105, allocations: 8.562 kB / 0.7947 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01976/1.125, allocations: 3.551 MB / 0.7982 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.126, allocations: 193.2 kB / 0.7984 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/1.129, allocations: 2.262 MB / 0.8006 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.131, allocations: 55.98 kB / 0.8006 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.131, allocations: 87.92 kB / 0.8007 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001967/1.133, allocations: 1.224 MB / 0.8019 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001528/1.135, allocations: 1.083 MB / 0.803 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002711/1.138, allocations: 1.897 MB / 0.8048 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.233e-06/1.138, allocations: 0 / 0.8048 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.004641/1.142, allocations: 2.386 MB / 0.8071 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.142, allocations: 8 kB / 0.8071 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.142, allocations: 4 kB / 0.8071 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/1.143, allocations: 168.1 kB / 0.8073 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.144, allocations: 276.2 kB / 0.8076 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/1.147, allocations: 2.361 MB / 0.8099 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.149, allocations: 59.94 kB / 0.8099 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.149, allocations: 87.92 kB / 0.81 GB, free: 0.6406 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.000499/1.149, allocations: 228.8 kB / 0.8102 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/1.15, allocations: 167.1 kB / 0.8104 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/1.155, allocations: 3.358 MB / 0.8137 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.155, allocations: 7.984 kB / 0.8137 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.155, allocations: 0 / 0.8137 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/1.156, allocations: 248.1 kB / 0.8139 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/1.156, allocations: 13.2 kB / 0.8139 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.157, allocations: 59.92 kB / 0.814 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/1.157, allocations: 48.59 kB / 0.814 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004665/1.162, allocations: 2.024 MB / 0.816 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003347/1.165, allocations: 2.309 MB / 0.8183 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009157/1.166, allocations: 0.617 MB / 0.8189 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001566/1.168, allocations: 1.192 MB / 0.82 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of Backend: time 6.31e-07/1.168, allocations: 0 / 0.82 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009802/1.178, allocations: 4.168 MB / 0.8241 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of SimCode: time 0.006279/1.184, allocations: 3.895 MB / 0.8279 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of Templates: time 0.1099/1.294, allocations: 73.08 MB / 0.8993 GB, free: 5.656 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)