Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001179/0.001179, allocations: 100.2 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.0009976/0.0009981, 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.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2871/0.2871, allocations: 39.99 MB / 310.4 MB, free: 9.957 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.2. 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.0005319/0.0005319, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 57.96 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.3329/0.449, allocations: 157 MB / 0.5798 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.4678, allocations: 16.12 MB / 0.5956 GB, free: 6.637 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.469, allocations: 39.62 kB / 0.5956 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.4703, allocations: 449.8 kB / 0.596 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.4772, allocations: 2.813 MB / 0.5988 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007273/0.4845, allocations: 3.025 MB / 0.6017 GB, free: 348 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.4871, allocations: 1.753 MB / 0.6034 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.4889, allocations: 1.502 MB / 0.6049 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.4915, allocations: 1.633 MB / 0.6065 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005662/0.4972, allocations: 3.283 MB / 0.6097 GB, free: 8.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.4975, allocations: 124 kB / 0.6098 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009586/0.5071, allocations: 4.794 MB / 0.6145 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009918/0.5081, allocations: 0.8186 MB / 0.6153 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.5087, allocations: 368.9 kB / 0.6157 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006594/0.5153, allocations: 4.244 MB / 0.6198 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5153, allocations: 3.938 kB / 0.6198 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5153, allocations: 3.938 kB / 0.6198 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.868e-05/0.5154, allocations: 0 / 0.6198 GB, free: 13.8 MB / 494.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.008713/0.5241, allocations: 2.292 MB / 0.622 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5241, allocations: 11.97 kB / 0.6221 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003565/0.5277, allocations: 485.5 kB / 0.6225 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.5297, allocations: 1.074 MB / 0.6236 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.5298, allocations: 98.2 kB / 0.6237 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.53, allocations: 104 kB / 0.6238 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.5341, allocations: 2.842 MB / 0.6265 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5341, allocations: 3.938 kB / 0.6265 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.5343, allocations: 47.98 kB / 0.6266 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.5345, allocations: 146.5 kB / 0.6267 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004973/0.5395, allocations: 3.57 MB / 0.6302 GB, free: 2.965 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.263/0.8025, allocations: 8.449 MB / 0.6385 GB, free: 21.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.8053, allocations: 1.534 MB / 0.64 GB, free: 21.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.8065, allocations: 1.113 MB / 0.641 GB, free: 20.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.8066, allocations: 48.44 kB / 0.6411 GB, free: 20.34 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001838/0.8084, allocations: 0.632 MB / 0.6417 GB, free: 20.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 3.697e-06/0.8085, allocations: 0 / 0.6417 GB, free: 20.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01266/0.8211, allocations: 4.244 MB / 0.6459 GB, free: 19.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.8212, allocations: 138.9 kB / 0.646 GB, free: 19.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.8232, allocations: 1.663 MB / 0.6476 GB, free: 19.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.8234, allocations: 42.33 kB / 0.6477 GB, free: 19.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.8238, allocations: 0.6571 MB / 0.6483 GB, free: 19.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.824, allocations: 266.7 kB / 0.6485 GB, free: 19.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.8241, allocations: 19.06 kB / 0.6486 GB, free: 19.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.8242, allocations: 344.4 kB / 0.6489 GB, free: 18.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.8254, allocations: 0.8639 MB / 0.6497 GB, free: 18.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.8269, allocations: 1.073 MB / 0.6508 GB, free: 18.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.8283, allocations: 0.9832 MB / 0.6517 GB, free: 18.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.8283, allocations: 4.547 kB / 0.6517 GB, free: 18.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003971/0.8323, allocations: 2.675 MB / 0.6544 GB, free: 18.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004201/0.8327, allocations: 2.14 MB / 0.6565 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.8328, allocations: 6.156 kB / 0.6565 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01986/0.8526, allocations: 3.644 MB / 0.66 GB, free: 16.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.8538, allocations: 191.7 kB / 0.6602 GB, free: 16.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.8571, allocations: 2.258 MB / 0.6624 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.859, allocations: 79.66 kB / 0.6625 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.8593, allocations: 89.47 kB / 0.6626 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8594, allocations: 3.812 kB / 0.6626 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004407/0.8638, allocations: 2.151 MB / 0.6647 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.8638, allocations: 5.5 kB / 0.6647 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/0.8645, allocations: 180.4 kB / 0.6648 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.8659, allocations: 263.7 kB / 0.6651 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.8686, allocations: 2.259 MB / 0.6673 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.8702, allocations: 75.88 kB / 0.6674 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.8704, allocations: 86.25 kB / 0.6675 GB, free: 14.31 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.001096/0.8715, allocations: 0.5084 MB / 0.668 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/0.872, allocations: 153.1 kB / 0.6681 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/0.8764, allocations: 2.336 MB / 0.6704 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.8764, allocations: 13.22 kB / 0.6704 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8764, allocations: 0 / 0.6704 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8764, allocations: 4.172 kB / 0.6704 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.8815, allocations: 3.296 MB / 0.6736 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8815, allocations: 0 / 0.6736 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.8819, allocations: 81.09 kB / 0.6737 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/0.8922, allocations: 2.483 MB / 0.6761 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.8924, allocations: 24.72 kB / 0.6761 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.8946, allocations: 1.899 MB / 0.678 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8946, allocations: 0 / 0.678 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.8975, allocations: 1.945 MB / 0.6799 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006551/0.8982, allocations: 273.6 kB / 0.6802 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.8986, allocations: 14.38 kB / 0.6802 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9, allocations: 79 kB / 0.6802 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.9002, allocations: 46.53 kB / 0.6803 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.9004, allocations: 63.09 kB / 0.6804 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001623/0.902, allocations: 1.176 MB / 0.6815 GB, free: 12 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.902, allocations: 0 / 0.6815 GB, free: 12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004341/0.9064, allocations: 1.66 MB / 0.6831 GB, free: 11.87 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.004471/0.9108, allocations: 1.495 MB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.9159, allocations: 3.059 MB / 0.6876 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.9159, allocations: 4.062 kB / 0.6876 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.917, allocations: 0.74 MB / 0.6883 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/0.9211, allocations: 0.9266 MB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.9249, allocations: 2.928 MB / 0.6921 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.926, allocations: 1.321 MB / 0.6933 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002557/0.9285, allocations: 0.5772 MB / 0.6939 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.9289, allocations: 114.8 kB / 0.694 GB, free: 7.391 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.929, allocations: 4 kB / 0.694 GB, free: 7.387 MB / 494.1 MB Notification: Performance of Templates: time 0.08895/1.018, allocations: 64.16 MB / 0.7567 GB, free: 7.523 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) Environment - environmentSimulation: