Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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: 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_3.2.3_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_3.2.3_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.001458/0.001458, allocations: 114.6 kB / 17.09 MB, free: 5.977 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.001495/0.001495, allocations: 194.2 kB / 18.02 MB, free: 5.07 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.525/1.525, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2132/0.2132, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 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.001597/0.001597, allocations: 72.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1174, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.4886/0.606, allocations: 207.4 MB / 0.6911 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.6252, allocations: 15.04 MB / 0.7058 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.6266, allocations: 31.81 kB / 0.7058 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.6281, allocations: 0.5631 MB / 0.7064 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.6383, allocations: 3.823 MB / 0.7101 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.6484, allocations: 3.981 MB / 0.714 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004326/0.6527, allocations: 3.278 MB / 0.7172 GB, free: 332 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.6554, allocations: 1.665 MB / 0.7188 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.6597, allocations: 1.901 MB / 0.7207 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006125/0.6658, allocations: 3.586 MB / 0.7242 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008915/0.6667, allocations: 188 kB / 0.7243 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.6782, allocations: 5.712 MB / 0.7299 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.6798, allocations: 0.9431 MB / 0.7308 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.6822, allocations: 1.078 MB / 0.7319 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.699, allocations: 6.2 MB / 0.7379 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.699, allocations: 0 / 0.7379 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6991, allocations: 0 / 0.7379 GB, free: 11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001156/0.6992, allocations: 0 / 0.7379 GB, free: 11 MB / 0.5762 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.01735/0.7165, allocations: 2.702 MB / 0.7406 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.7166, allocations: 15.89 kB / 0.7406 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006809/0.7234, allocations: 457.6 kB / 0.741 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.7272, allocations: 1.159 MB / 0.7422 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.7273, allocations: 98.16 kB / 0.7423 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006137/0.728, allocations: 107.9 kB / 0.7424 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007729/0.7357, allocations: 2.857 MB / 0.7452 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.7358, allocations: 4 kB / 0.7452 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/0.7362, allocations: 55.95 kB / 0.7452 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/0.7365, allocations: 142.5 kB / 0.7453 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007453/0.744, allocations: 3.523 MB / 0.7488 GB, free: 15.72 MB / 0.5919 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.02481/0.7688, allocations: 8.553 MB / 0.7571 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/0.7739, allocations: 1.567 MB / 0.7587 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.7759, allocations: 0.803 MB / 0.7595 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.778, allocations: 1.144 MB / 0.7606 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.7781, allocations: 51.22 kB / 0.7606 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002606/0.7807, allocations: 466 kB / 0.7611 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 1.071e-05/0.7807, allocations: 0 / 0.7611 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.2893/1.07, allocations: 4.284 MB / 0.7652 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.07, allocations: 144.2 kB / 0.7654 GB, free: 225 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/1.073, allocations: 1.679 MB / 0.767 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/1.073, allocations: 44.95 kB / 0.7671 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/1.073, allocations: 0.6473 MB / 0.7677 GB, free: 224.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/1.074, allocations: 266 kB / 0.768 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/1.074, allocations: 268.1 kB / 0.7682 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/1.074, allocations: 344 kB / 0.7685 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.076, allocations: 0.9157 MB / 0.7694 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/1.077, allocations: 1.103 MB / 0.7705 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/1.08, allocations: 1.944 MB / 0.7724 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.08, allocations: 2.219 kB / 0.7724 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004897/1.085, allocations: 2.751 MB / 0.7751 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.085, allocations: 7.281 kB / 0.7751 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.085, allocations: 5.594 kB / 0.7751 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/1.107, allocations: 3.433 MB / 0.7785 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.108, allocations: 198.2 kB / 0.7787 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/1.112, allocations: 2.262 MB / 0.7809 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.114, allocations: 48.08 kB / 0.7809 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.114, allocations: 92.31 kB / 0.781 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002246/1.116, allocations: 1.225 MB / 0.7822 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001494/1.118, allocations: 1.085 MB / 0.7833 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002698/1.121, allocations: 1.89 MB / 0.7851 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.193e-06/1.121, allocations: 2.688 kB / 0.7851 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.004938/1.126, allocations: 2.365 MB / 0.7874 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.126, allocations: 7.094 kB / 0.7874 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.126, allocations: 6.094 kB / 0.7874 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/1.126, allocations: 164.4 kB / 0.7876 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.128, allocations: 278.5 kB / 0.7878 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/1.131, allocations: 2.348 MB / 0.7901 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/1.132, allocations: 60.88 kB / 0.7902 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.132, allocations: 82.86 kB / 0.7903 GB, free: 215.4 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.0004903/1.133, allocations: 236.8 kB / 0.7905 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/1.133, allocations: 161.1 kB / 0.7907 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/1.137, allocations: 2.379 MB / 0.793 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/1.137, allocations: 3.984 kB / 0.793 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.137, allocations: 0 / 0.793 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/1.138, allocations: 241.5 kB / 0.7932 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/1.138, allocations: 11.97 kB / 0.7932 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.139, allocations: 63.14 kB / 0.7933 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.139, allocations: 52.12 kB / 0.7933 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004505/1.144, allocations: 2.004 MB / 0.7953 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003264/1.147, allocations: 2.3 MB / 0.7975 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009106/1.148, allocations: 0.6104 MB / 0.7981 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001413/1.15, allocations: 1.192 MB / 0.7993 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of Backend: time 3.2e-07/1.15, allocations: 0 / 0.7993 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009987/1.16, allocations: 4.341 MB / 0.8035 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005743/1.165, allocations: 3.852 MB / 0.8073 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.08514/1.251, allocations: 74.8 MB / 0.8803 GB, free: 128.3 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)