Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006765/0.006765, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001254/0.001254, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.664/1.664, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.3445/0.3445, allocations: 38 MB / 307.9 MB, free: 10.16 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.001516/0.001516, allocations: 75.89 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3952, allocations: 56.47 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.656/1.051, allocations: 163.3 MB / 0.6375 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007651/1.059, allocations: 4.105 MB / 0.6415 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007904/1.06, allocations: 15.12 kB / 0.6415 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/1.061, allocations: 207.2 kB / 0.6417 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/1.064, allocations: 0.8283 MB / 0.6425 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/1.067, allocations: 0.6737 MB / 0.6432 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002673/1.069, allocations: 1.147 MB / 0.6443 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/1.07, allocations: 331 kB / 0.6446 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/1.072, allocations: 468.1 kB / 0.6451 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006945/1.072, allocations: 381 kB / 0.6454 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/1.072, allocations: 45.44 kB / 0.6455 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/1.074, allocations: 0.5899 MB / 0.6461 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/1.075, allocations: 156.5 kB / 0.6462 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004428/1.075, allocations: 274 kB / 0.6465 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/1.077, allocations: 0.9833 MB / 0.6474 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.077, allocations: 1.312 kB / 0.6474 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.077, allocations: 0.625 kB / 0.6474 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.077, allocations: 0 / 0.6474 GB, free: 1.555 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002024/1.079, allocations: 0.9142 MB / 0.6483 GB, free: 16.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.079, allocations: 15.17 kB / 0.6483 GB, free: 16.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/1.08, allocations: 77.22 kB / 0.6484 GB, free: 16.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/1.08, allocations: 417 kB / 0.6488 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/1.081, allocations: 60.52 kB / 0.6489 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/1.081, allocations: 42.03 kB / 0.6489 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/1.082, allocations: 0.5229 MB / 0.6494 GB, free: 16.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/1.082, allocations: 6.484 kB / 0.6494 GB, free: 16.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/1.082, allocations: 15.59 kB / 0.6494 GB, free: 16.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/1.082, allocations: 21.58 kB / 0.6495 GB, free: 16.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009614/1.083, allocations: 406.2 kB / 0.6499 GB, free: 16.52 MB / 0.5137 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.003584/1.086, allocations: 2.48 MB / 0.6523 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/1.087, allocations: 344.8 kB / 0.6526 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/1.088, allocations: 159.3 kB / 0.6528 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/1.088, allocations: 9.047 kB / 0.6528 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006131/1.088, allocations: 273 kB / 0.653 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/1.088, allocations: 0 / 0.653 GB, free: 14.77 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.0128/1.101, allocations: 3.252 MB / 0.6562 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/1.101, allocations: 162.9 kB / 0.6564 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/1.102, allocations: 387.7 kB / 0.6567 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/1.102, allocations: 39.58 kB / 0.6568 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/1.102, allocations: 260.6 kB / 0.657 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/1.102, allocations: 165.9 kB / 0.6572 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/1.102, allocations: 127.5 kB / 0.6573 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.103, allocations: 354.2 kB / 0.6576 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/1.103, allocations: 218 kB / 0.6578 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/1.104, allocations: 413.1 kB / 0.6582 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/1.106, allocations: 0.6405 MB / 0.6589 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.106, allocations: 2.844 kB / 0.6589 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002109/1.108, allocations: 0.7868 MB / 0.6596 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/1.108, allocations: 38.42 kB / 0.6597 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.108, allocations: 7.078 kB / 0.6597 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/1.108, allocations: 120.6 kB / 0.6598 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/1.109, allocations: 136 kB / 0.6599 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000687/1.109, allocations: 0.6691 MB / 0.6606 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/1.11, allocations: 51.55 kB / 0.6606 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/1.11, allocations: 46.34 kB / 0.6607 GB, free: 11.95 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003652/1.111, allocations: 206.2 kB / 0.6609 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.111, allocations: 48.78 kB / 0.6609 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.113, allocations: 0.7373 MB / 0.6616 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/1.113, allocations: 6.531 kB / 0.6616 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.113, allocations: 0 / 0.6616 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/1.113, allocations: 5.109 kB / 0.6616 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/1.116, allocations: 1.284 MB / 0.6629 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.116, allocations: 2.875 kB / 0.6629 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/1.116, allocations: 103.9 kB / 0.663 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005942/1.117, allocations: 105.2 kB / 0.6631 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/1.117, allocations: 19.19 kB / 0.6631 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/1.119, allocations: 1.82 MB / 0.6649 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/1.119, allocations: 3.375 kB / 0.6649 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.121, allocations: 0.9738 MB / 0.6658 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/1.122, allocations: 164 kB / 0.666 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/1.122, allocations: 12.44 kB / 0.666 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/1.122, allocations: 49.3 kB / 0.6661 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.122, allocations: 62.09 kB / 0.6661 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/1.122, allocations: 34.33 kB / 0.6662 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003625/1.123, allocations: 272.9 kB / 0.6664 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/1.123, allocations: 0 / 0.6664 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001138/1.124, allocations: 240.6 kB / 0.6666 GB, free: 9.539 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/1.125, allocations: 317 kB / 0.6669 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00183/1.127, allocations: 0.611 MB / 0.6675 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.127, allocations: 2.062 kB / 0.6675 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/1.128, allocations: 416.9 kB / 0.6679 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.129, allocations: 207.4 kB / 0.6681 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/1.132, allocations: 1.165 MB / 0.6693 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/1.132, allocations: 0.8593 MB / 0.6701 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007949/1.133, allocations: 162.3 kB / 0.6703 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/1.134, allocations: 75.83 kB / 0.6703 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/1.134, allocations: 0 / 0.6703 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of Templates: time 0.0282/1.162, allocations: 13.66 MB / 0.6837 GB, free: 4.57 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)