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.0007761/0.0007761, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005492/0.005492, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.537/1.537, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3228/0.3228, allocations: 38.04 MB / 308.8 MB, free: 10.26 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.0006487/0.0006488, allocations: 12 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 57.52 MB / 434.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.4256/0.5473, allocations: 203.7 MB / 0.6233 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3356/0.883, allocations: 15.41 MB / 0.6383 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.8847, allocations: 39.47 kB / 0.6384 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.8861, allocations: 0.4915 MB / 0.6389 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.8979, allocations: 3.449 MB / 0.6422 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0145/0.9125, allocations: 3.389 MB / 0.6455 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007007/0.9195, allocations: 4.697 MB / 0.6501 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.9219, allocations: 1.505 MB / 0.6516 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.926, allocations: 1.716 MB / 0.6533 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006483/0.9325, allocations: 3.697 MB / 0.6569 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.9331, allocations: 121 kB / 0.657 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.9496, allocations: 6.495 MB / 0.6633 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.9517, allocations: 0.8724 MB / 0.6642 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002581/0.9543, allocations: 1.027 MB / 0.6652 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.9736, allocations: 6.422 MB / 0.6715 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9736, allocations: 0 / 0.6715 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.637e-06/0.9736, allocations: 4.906 kB / 0.6715 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001032/0.9737, allocations: 0 / 0.6715 GB, free: 16.23 MB / 0.4981 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.01289/0.9866, allocations: 2.278 MB / 0.6737 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.9867, allocations: 13.75 kB / 0.6737 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.9917, allocations: 482.9 kB / 0.6742 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.9946, allocations: 1.102 MB / 0.6752 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.9947, allocations: 91.89 kB / 0.6753 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.9951, allocations: 111.7 kB / 0.6754 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/0.9999, allocations: 2.865 MB / 0.6782 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1, allocations: 0 / 0.6782 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/1, allocations: 53.53 kB / 0.6783 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/1, allocations: 146 kB / 0.6784 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/1.006, allocations: 3.532 MB / 0.6819 GB, free: 12.52 MB / 0.4981 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.01787/1.024, allocations: 8.705 MB / 0.6904 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/1.027, allocations: 1.571 MB / 0.6919 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/1.028, allocations: 0.8238 MB / 0.6927 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/1.03, allocations: 1.141 MB / 0.6938 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.03, allocations: 47.69 kB / 0.6939 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002451/1.032, allocations: 0.6217 MB / 0.6945 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 9.137e-06/1.032, allocations: 4 kB / 0.6945 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01473/1.047, allocations: 4.364 MB / 0.6987 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/1.047, allocations: 133.2 kB / 0.6989 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/1.051, allocations: 1.68 MB / 0.7005 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004516/1.051, allocations: 46.08 kB / 0.7006 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009693/1.052, allocations: 0.6431 MB / 0.7012 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007414/1.053, allocations: 273.9 kB / 0.7014 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/1.053, allocations: 83.55 kB / 0.7015 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002691/1.054, allocations: 342.8 kB / 0.7019 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/1.056, allocations: 0.9117 MB / 0.7027 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.058, allocations: 1.106 MB / 0.7038 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/1.062, allocations: 1.967 MB / 0.7057 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.062, allocations: 4 kB / 0.7057 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005399/1.067, allocations: 2.75 MB / 0.7084 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/1.068, allocations: 240.7 kB / 0.7087 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.068, allocations: 4 kB / 0.7087 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01994/1.088, allocations: 3.656 MB / 0.7122 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/1.089, allocations: 199.6 kB / 0.7124 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/1.093, allocations: 2.255 MB / 0.7146 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/1.096, allocations: 86.83 kB / 0.7147 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000529/1.097, allocations: 85.19 kB / 0.7148 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.097, allocations: 8 kB / 0.7148 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004961/1.102, allocations: 2.209 MB / 0.717 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.102, allocations: 7.984 kB / 0.717 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/1.102, allocations: 172.9 kB / 0.7171 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.104, allocations: 270.3 kB / 0.7174 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/1.107, allocations: 2.21 MB / 0.7195 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/1.109, allocations: 81.81 kB / 0.7196 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/1.11, allocations: 83.92 kB / 0.7197 GB, free: 3.391 MB / 0.5137 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.001521/1.111, allocations: 0.5004 MB / 0.7202 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/1.112, allocations: 162.2 kB / 0.7203 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/1.118, allocations: 2.391 MB / 0.7227 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.118, allocations: 11.98 kB / 0.7227 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.118, allocations: 0 / 0.7227 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.118, allocations: 15.92 kB / 0.7227 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/1.124, allocations: 3.375 MB / 0.726 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/1.124, allocations: 3.938 kB / 0.726 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/1.125, allocations: 85.75 kB / 0.7261 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/1.136, allocations: 2.463 MB / 0.7285 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002686/1.137, allocations: 23.98 kB / 0.7285 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/1.14, allocations: 1.973 MB / 0.7304 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.14, allocations: 0 / 0.7304 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/1.144, allocations: 1.984 MB / 0.7324 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.145, allocations: 267.2 kB / 0.7326 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007052/1.146, allocations: 16 kB / 0.7327 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/1.148, allocations: 97.38 kB / 0.7327 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/1.148, allocations: 52.53 kB / 0.7328 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/1.148, allocations: 59.95 kB / 0.7329 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002652/1.151, allocations: 1.192 MB / 0.734 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.32e-07/1.151, allocations: 0 / 0.734 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008004/1.159, allocations: 1.686 MB / 0.7357 GB, free: 2.922 MB / 0.5294 GB 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 (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,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008715/1.168, allocations: 1.769 MB / 0.7374 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00721/1.175, allocations: 3.153 MB / 0.7405 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/1.175, allocations: 4.781 kB / 0.7405 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.177, allocations: 0.7668 MB / 0.7412 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006586/1.184, allocations: 0.9268 MB / 0.7421 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/1.19, allocations: 3.099 MB / 0.7452 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.191, allocations: 1.301 MB / 0.7464 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003342/1.194, allocations: 0.5784 MB / 0.747 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/1.195, allocations: 119.4 kB / 0.7471 GB, free: 7.305 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.195, allocations: 0 / 0.7471 GB, free: 7.305 MB / 0.545 GB Notification: Performance of Templates: time 0.1067/1.302, allocations: 65.26 MB / 0.8108 GB, free: 6.203 MB / 0.6075 GB 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: