Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009965/0.0009965, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009295/0.0009295, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.468/0.468, allocations: 38.03 MB / 308.4 MB, free: 10.43 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006787/0.0006792, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1633, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.554/0.7175, allocations: 157 MB / 0.577 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02333/0.7409, allocations: 16.12 MB / 0.5928 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7429, allocations: 43.62 kB / 0.5928 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.7446, allocations: 437.9 kB / 0.5932 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.755, allocations: 2.823 MB / 0.596 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009701/0.7647, allocations: 3.016 MB / 0.5989 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.7685, allocations: 1.745 MB / 0.6006 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.771, allocations: 1.5 MB / 0.6021 GB, free: 1.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.7751, allocations: 1.645 MB / 0.6037 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007496/0.7826, allocations: 3.283 MB / 0.6069 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006113/0.7832, allocations: 120 kB / 0.607 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01516/0.7984, allocations: 4.799 MB / 0.6117 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.8001, allocations: 0.8186 MB / 0.6125 GB, free: 6.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008882/0.801, allocations: 368.9 kB / 0.6129 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.8114, allocations: 4.24 MB / 0.617 GB, free: 2.047 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8114, allocations: 0 / 0.617 GB, free: 2.047 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.8114, allocations: 0 / 0.617 GB, free: 2.047 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.292e-05/0.8115, allocations: 0 / 0.617 GB, free: 2.047 MB / 478.1 MB 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.009805/0.8213, allocations: 2.3 MB / 0.6193 GB, free: 15.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8214, allocations: 8.031 kB / 0.6193 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.8256, allocations: 489.5 kB / 0.6197 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.8284, allocations: 1.078 MB / 0.6208 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.8285, allocations: 98.22 kB / 0.6209 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.8288, allocations: 104 kB / 0.621 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.8337, allocations: 2.843 MB / 0.6238 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.8338, allocations: 0 / 0.6238 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.834, allocations: 47.98 kB / 0.6238 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.8342, allocations: 150.4 kB / 0.624 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005801/0.84, allocations: 3.566 MB / 0.6274 GB, free: 7.207 MB / 494.1 MB 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.3129/1.153, allocations: 8.452 MB / 0.6357 GB, free: 152.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/1.156, allocations: 1.533 MB / 0.6372 GB, free: 152.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/1.158, allocations: 1.115 MB / 0.6383 GB, free: 151.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/1.158, allocations: 51.22 kB / 0.6383 GB, free: 151.4 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00217/1.16, allocations: 0.6286 MB / 0.6389 GB, free: 151.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 3.927e-06/1.16, allocations: 0 / 0.6389 GB, free: 151.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01309/1.173, allocations: 4.248 MB / 0.6431 GB, free: 151.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.173, allocations: 135.6 kB / 0.6432 GB, free: 151 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.175, allocations: 1.668 MB / 0.6448 GB, free: 150.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.175, allocations: 44.33 kB / 0.6449 GB, free: 150.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/1.176, allocations: 0.6517 MB / 0.6455 GB, free: 150.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/1.176, allocations: 264.6 kB / 0.6458 GB, free: 150 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/1.176, allocations: 23.34 kB / 0.6458 GB, free: 150 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/1.176, allocations: 347.5 kB / 0.6461 GB, free: 149.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.178, allocations: 0.8618 MB / 0.647 GB, free: 149.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.179, allocations: 1.076 MB / 0.648 GB, free: 148.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.18, allocations: 0.9809 MB / 0.649 GB, free: 148.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.18, allocations: 3.031 kB / 0.649 GB, free: 148.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003897/1.184, allocations: 2.685 MB / 0.6516 GB, free: 147.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005726/1.185, allocations: 2.137 MB / 0.6537 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.185, allocations: 6.688 kB / 0.6537 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01881/1.203, allocations: 3.643 MB / 0.6573 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.205, allocations: 187 kB / 0.6574 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/1.208, allocations: 2.261 MB / 0.6596 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.21, allocations: 84.41 kB / 0.6597 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/1.21, allocations: 81.72 kB / 0.6598 GB, free: 143.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.21, allocations: 5.375 kB / 0.6598 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003676/1.214, allocations: 2.155 MB / 0.6619 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.214, allocations: 6.25 kB / 0.6619 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/1.215, allocations: 177.6 kB / 0.6621 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.216, allocations: 264.6 kB / 0.6623 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/1.218, allocations: 2.259 MB / 0.6645 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.22, allocations: 69.91 kB / 0.6646 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.22, allocations: 86.36 kB / 0.6647 GB, free: 141.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.001071/1.221, allocations: 0.5109 MB / 0.6652 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/1.222, allocations: 160.1 kB / 0.6653 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/1.227, allocations: 2.328 MB / 0.6676 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.227, allocations: 7.719 kB / 0.6676 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.227, allocations: 0 / 0.6676 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/1.227, allocations: 9.094 kB / 0.6676 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006717/1.233, allocations: 3.296 MB / 0.6709 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.233, allocations: 6.094 kB / 0.6709 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/1.234, allocations: 82.62 kB / 0.6709 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/1.246, allocations: 2.471 MB / 0.6733 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/1.246, allocations: 22.98 kB / 0.6734 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/1.249, allocations: 1.897 MB / 0.6752 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.249, allocations: 5.281 kB / 0.6752 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/1.255, allocations: 1.937 MB / 0.6771 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.256, allocations: 270.9 kB / 0.6774 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/1.256, allocations: 13.41 kB / 0.6774 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.257, allocations: 82.23 kB / 0.6775 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/1.258, allocations: 49.05 kB / 0.6775 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.258, allocations: 62.47 kB / 0.6776 GB, free: 136.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002463/1.26, allocations: 1.184 MB / 0.6787 GB, free: 135.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.26, allocations: 0 / 0.6787 GB, free: 135.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007154/1.268, allocations: 1.654 MB / 0.6803 GB, free: 135.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.005815/1.273, allocations: 1.509 MB / 0.6818 GB, free: 135.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007133/1.281, allocations: 3.053 MB / 0.6848 GB, free: 134.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.281, allocations: 11 kB / 0.6848 GB, free: 134.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.282, allocations: 0.7364 MB / 0.6855 GB, free: 133.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005073/1.287, allocations: 0.9271 MB / 0.6864 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/1.291, allocations: 2.916 MB / 0.6893 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.292, allocations: 1.319 MB / 0.6906 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002561/1.295, allocations: 0.5727 MB / 0.6911 GB, free: 131.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/1.295, allocations: 116.2 kB / 0.6912 GB, free: 131.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.784e-06/1.295, allocations: 0.5625 kB / 0.6912 GB, free: 131.3 MB / 494.1 MB Notification: Performance of Templates: time 0.08456/1.38, allocations: 64.16 MB / 0.7539 GB, free: 70.55 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) Environment - environmentSimulation: