Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006241/0.006241, allocations: 100.3 kB / 15.73 MB, free: 6 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.001227/0.001227, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.389/1.389, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3537/0.3537, allocations: 39.95 MB / 309.8 MB, free: 9.453 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.001495/0.001495, allocations: 75.88 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3805, allocations: 56.86 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5815/0.9621, allocations: 163.3 MB / 0.6406 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007128/0.9692, allocations: 4.104 MB / 0.6446 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007221/0.97, allocations: 15.47 kB / 0.6446 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.9709, allocations: 210.6 kB / 0.6448 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.9754, allocations: 0.8369 MB / 0.6457 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.9779, allocations: 0.6702 MB / 0.6463 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.9799, allocations: 1.15 MB / 0.6474 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/0.9805, allocations: 318.8 kB / 0.6477 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000984/0.9815, allocations: 475.7 kB / 0.6482 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.9822, allocations: 383.1 kB / 0.6486 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.9823, allocations: 44.91 kB / 0.6486 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.984, allocations: 0.5986 MB / 0.6492 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.9842, allocations: 159 kB / 0.6493 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.9845, allocations: 268.5 kB / 0.6496 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.9865, allocations: 0.9784 MB / 0.6506 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9865, allocations: 0 / 0.6506 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9865, allocations: 1.5 kB / 0.6506 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.9865, allocations: 0 / 0.6506 GB, free: 1.512 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.002147/0.9887, allocations: 0.9007 MB / 0.6514 GB, free: 16.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9887, allocations: 13.92 kB / 0.6514 GB, free: 16.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.9892, allocations: 74 kB / 0.6515 GB, free: 16.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.9899, allocations: 419.6 kB / 0.6519 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.99, allocations: 58.08 kB / 0.652 GB, free: 16.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.9901, allocations: 38.5 kB / 0.652 GB, free: 16.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.9911, allocations: 0.5203 MB / 0.6525 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.9912, allocations: 6.969 kB / 0.6525 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.9912, allocations: 23.78 kB / 0.6525 GB, free: 16.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/0.9913, allocations: 14.72 kB / 0.6526 GB, free: 16.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.9922, allocations: 406.5 kB / 0.6529 GB, free: 16.49 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.003493/0.9957, allocations: 2.487 MB / 0.6554 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.9966, allocations: 340.7 kB / 0.6557 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.9971, allocations: 160.9 kB / 0.6559 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.9971, allocations: 8.906 kB / 0.6559 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006278/0.9977, allocations: 268.3 kB / 0.6561 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.9978, allocations: 3.984 kB / 0.6561 GB, free: 14.74 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.01291/1.011, allocations: 3.243 MB / 0.6593 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.011, allocations: 161.7 kB / 0.6594 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/1.011, allocations: 389 kB / 0.6598 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/1.011, allocations: 37.25 kB / 0.6599 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/1.012, allocations: 254.7 kB / 0.6601 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.012, allocations: 158.3 kB / 0.6602 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/1.012, allocations: 126.7 kB / 0.6604 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.012, allocations: 358.9 kB / 0.6607 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/1.013, allocations: 218.2 kB / 0.6609 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/1.014, allocations: 407.8 kB / 0.6613 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/1.015, allocations: 0.6418 MB / 0.6619 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.015, allocations: 1.375 kB / 0.6619 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002064/1.017, allocations: 0.7888 MB / 0.6627 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/1.017, allocations: 34.36 kB / 0.6627 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.017, allocations: 5.156 kB / 0.6627 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/1.018, allocations: 117.3 kB / 0.6629 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/1.018, allocations: 136.3 kB / 0.663 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006302/1.019, allocations: 0.6731 MB / 0.6636 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/1.02, allocations: 51.28 kB / 0.6637 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/1.02, allocations: 41.55 kB / 0.6637 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.0002811/1.02, allocations: 209.7 kB / 0.6639 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/1.02, allocations: 49.09 kB / 0.664 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/1.022, allocations: 0.7318 MB / 0.6647 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.022, allocations: 9.141 kB / 0.6647 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.022, allocations: 0 / 0.6647 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.022, allocations: 4.484 kB / 0.6647 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/1.025, allocations: 1.273 MB / 0.6659 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.025, allocations: 1.781 kB / 0.6659 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/1.025, allocations: 111.5 kB / 0.6661 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/1.026, allocations: 108.8 kB / 0.6662 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/1.026, allocations: 19.86 kB / 0.6662 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.028, allocations: 1.818 MB / 0.668 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.028, allocations: 5.938 kB / 0.668 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/1.03, allocations: 0.9741 MB / 0.6689 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/1.03, allocations: 160.7 kB / 0.6691 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/1.031, allocations: 15.94 kB / 0.6691 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/1.031, allocations: 46.91 kB / 0.6691 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.031, allocations: 61.12 kB / 0.6692 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/1.031, allocations: 36.11 kB / 0.6692 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003552/1.032, allocations: 270 kB / 0.6695 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 1.094 kB / 0.6695 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001097/1.033, allocations: 237.6 kB / 0.6697 GB, free: 9.531 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.0008726/1.034, allocations: 322.8 kB / 0.67 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001544/1.035, allocations: 0.6053 MB / 0.6706 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.035, allocations: 0.8438 kB / 0.6706 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/1.036, allocations: 415.3 kB / 0.671 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.001022/1.037, allocations: 220.1 kB / 0.6712 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.039, allocations: 1.149 MB / 0.6723 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/1.039, allocations: 0.8546 MB / 0.6732 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004934/1.04, allocations: 154.7 kB / 0.6733 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/1.04, allocations: 73.2 kB / 0.6734 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/1.04, allocations: 5.203 kB / 0.6734 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of Templates: time 0.02045/1.061, allocations: 13.85 MB / 0.6869 GB, free: 4.305 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)