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.001296/0.001296, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001389/0.001389, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.309/1.309, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1917/0.1917, allocations: 43.53 MB / 314.8 MB, free: 444 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.001434/0.001434, allocations: 69.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09965, allocations: 57.78 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.4603/0.56, allocations: 207.4 MB / 0.6911 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.5796, allocations: 15.02 MB / 0.7058 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.5811, allocations: 35.75 kB / 0.7058 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.583, allocations: 0.5631 MB / 0.7063 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.594, allocations: 3.776 MB / 0.71 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009677/0.6037, allocations: 3.97 MB / 0.7139 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.6078, allocations: 3.274 MB / 0.7171 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.6103, allocations: 1.669 MB / 0.7187 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.6139, allocations: 1.901 MB / 0.7206 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.62, allocations: 3.57 MB / 0.7241 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006736/0.6207, allocations: 188 kB / 0.7243 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.632, allocations: 5.708 MB / 0.7298 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.6333, allocations: 0.9431 MB / 0.7308 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.6353, allocations: 1.082 MB / 0.7318 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.648, allocations: 6.204 MB / 0.7379 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.648, allocations: 0 / 0.7379 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.648, allocations: 0 / 0.7379 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.823e-05/0.6481, allocations: 0 / 0.7379 GB, free: 11.02 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.01127/0.6594, allocations: 2.709 MB / 0.7405 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6595, allocations: 11.89 kB / 0.7405 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.6637, allocations: 465.6 kB / 0.741 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.666, allocations: 1.151 MB / 0.7421 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.6661, allocations: 94.17 kB / 0.7422 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.6665, allocations: 112 kB / 0.7423 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/0.6708, allocations: 2.846 MB / 0.7451 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6708, allocations: 7.938 kB / 0.7451 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.6711, allocations: 51.97 kB / 0.7451 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/0.6712, allocations: 146.5 kB / 0.7453 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/0.6764, allocations: 3.523 MB / 0.7487 GB, free: 15.74 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.01453/0.6909, allocations: 8.553 MB / 0.7571 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.6942, allocations: 1.571 MB / 0.7586 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.6954, allocations: 0.803 MB / 0.7594 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.6968, allocations: 1.152 MB / 0.7605 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6968, allocations: 47.16 kB / 0.7605 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001585/0.6984, allocations: 462 kB / 0.761 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 3.517e-06/0.6984, allocations: 0 / 0.761 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.2529/0.9513, allocations: 4.292 MB / 0.7652 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.9514, allocations: 141.9 kB / 0.7653 GB, free: 225 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.954, allocations: 1.677 MB / 0.767 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.9542, allocations: 44.42 kB / 0.767 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.9547, allocations: 0.6451 MB / 0.7676 GB, free: 224.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.955, allocations: 266.6 kB / 0.7679 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005644/0.9556, allocations: 268.8 kB / 0.7681 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.9557, allocations: 343.7 kB / 0.7685 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.9571, allocations: 0.912 MB / 0.7694 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.9586, allocations: 1.104 MB / 0.7704 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.9614, allocations: 1.944 MB / 0.7723 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.9614, allocations: 1.219 kB / 0.7723 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004567/0.966, allocations: 2.752 MB / 0.775 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.966, allocations: 6.938 kB / 0.775 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.966, allocations: 8.406 kB / 0.775 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/0.9874, allocations: 3.438 MB / 0.7784 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.9888, allocations: 189.2 kB / 0.7786 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.9922, allocations: 2.261 MB / 0.7808 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.9939, allocations: 56.5 kB / 0.7808 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.9941, allocations: 87.78 kB / 0.7809 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001844/0.996, allocations: 1.228 MB / 0.7821 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.9974, allocations: 1.079 MB / 0.7832 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002554/0.9999, allocations: 1.895 MB / 0.785 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.9999, allocations: 1.375 kB / 0.785 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.004203/1.004, allocations: 2.362 MB / 0.7873 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.004, allocations: 7.094 kB / 0.7873 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.004, allocations: 8.094 kB / 0.7873 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/1.005, allocations: 171 kB / 0.7875 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.006, allocations: 266.8 kB / 0.7878 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.009, allocations: 2.352 MB / 0.7901 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.01, allocations: 60.66 kB / 0.7901 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.01, allocations: 87.08 kB / 0.7902 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.0004251/1.011, allocations: 231.8 kB / 0.7904 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/1.011, allocations: 160 kB / 0.7906 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/1.015, allocations: 2.381 MB / 0.7929 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.015, allocations: 3.984 kB / 0.7929 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.015, allocations: 7.562 kB / 0.7929 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/1.015, allocations: 233.5 kB / 0.7931 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/1.015, allocations: 15.97 kB / 0.7931 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.017, allocations: 60.14 kB / 0.7932 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.017, allocations: 51.86 kB / 0.7933 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004207/1.021, allocations: 2.006 MB / 0.7952 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002998/1.024, allocations: 2.304 MB / 0.7975 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008603/1.025, allocations: 0.6015 MB / 0.7981 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001445/1.026, allocations: 1.192 MB / 0.7992 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of Backend: time 3e-07/1.026, allocations: 0 / 0.7992 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009327/1.036, allocations: 4.349 MB / 0.8035 GB, free: 207 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005091/1.041, allocations: 3.846 MB / 0.8072 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.08332/1.124, allocations: 75.95 MB / 0.8814 GB, free: 127.2 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)