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.008061/0.008061, allocations: 103.9 kB / 15.74 MB, free: 6.027 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.001679/0.001679, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3621/0.3621, allocations: 39.95 MB / 309.9 MB, free: 9.266 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.001507/0.001507, allocations: 67.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3943, allocations: 56.87 MB / 492.6 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6747/1.069, allocations: 163.3 MB / 0.6406 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008338/1.077, allocations: 4.104 MB / 0.6446 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/1.078, allocations: 14.72 kB / 0.6446 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008479/1.079, allocations: 210.8 kB / 0.6448 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/1.083, allocations: 0.835 MB / 0.6457 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/1.085, allocations: 0.6749 MB / 0.6463 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002169/1.087, allocations: 1.147 MB / 0.6474 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/1.088, allocations: 329.6 kB / 0.6478 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/1.089, allocations: 465 kB / 0.6482 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/1.09, allocations: 374.3 kB / 0.6486 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/1.09, allocations: 45.66 kB / 0.6486 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/1.092, allocations: 0.5975 MB / 0.6492 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/1.092, allocations: 162.3 kB / 0.6493 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/1.093, allocations: 270.1 kB / 0.6496 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/1.095, allocations: 0.9811 MB / 0.6505 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.095, allocations: 0.5625 kB / 0.6505 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.095, allocations: 0 / 0.6505 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.095, allocations: 2.891 kB / 0.6506 GB, free: 1.508 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.00219/1.097, allocations: 0.9203 MB / 0.6515 GB, free: 16.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.085e-05/1.097, allocations: 14.58 kB / 0.6515 GB, free: 16.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005465/1.098, allocations: 76.94 kB / 0.6515 GB, free: 16.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007239/1.098, allocations: 419.5 kB / 0.6519 GB, free: 16.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.098, allocations: 57.42 kB / 0.652 GB, free: 16.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/1.099, allocations: 41.77 kB / 0.652 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.1, allocations: 0.5238 MB / 0.6525 GB, free: 16.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.1, allocations: 1.031 kB / 0.6525 GB, free: 16.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/1.1, allocations: 18.34 kB / 0.6526 GB, free: 16.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/1.1, allocations: 24.12 kB / 0.6526 GB, free: 16.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/1.101, allocations: 399.2 kB / 0.653 GB, free: 16.46 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.003705/1.104, allocations: 2.49 MB / 0.6554 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/1.105, allocations: 342.3 kB / 0.6557 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/1.106, allocations: 160.6 kB / 0.6559 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/1.106, allocations: 10.62 kB / 0.6559 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006236/1.107, allocations: 270.7 kB / 0.6561 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/1.107, allocations: 0.875 kB / 0.6561 GB, free: 14.71 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.01241/1.119, allocations: 3.252 MB / 0.6593 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.119, allocations: 160.1 kB / 0.6595 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/1.12, allocations: 389.2 kB / 0.6598 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/1.12, allocations: 36.48 kB / 0.6599 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/1.12, allocations: 259 kB / 0.6601 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/1.12, allocations: 168.4 kB / 0.6603 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.12, allocations: 123.9 kB / 0.6604 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.121, allocations: 361.8 kB / 0.6608 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/1.121, allocations: 220.7 kB / 0.661 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/1.122, allocations: 405.9 kB / 0.6613 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/1.124, allocations: 0.6385 MB / 0.662 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.124, allocations: 2.062 kB / 0.662 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002064/1.126, allocations: 0.79 MB / 0.6627 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/1.126, allocations: 36.98 kB / 0.6628 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.126, allocations: 5.531 kB / 0.6628 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/1.126, allocations: 120 kB / 0.6629 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/1.127, allocations: 136.1 kB / 0.663 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/1.128, allocations: 0.668 MB / 0.6637 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/1.128, allocations: 50.22 kB / 0.6637 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.128, allocations: 45.08 kB / 0.6638 GB, free: 11.9 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.0003418/1.129, allocations: 208 kB / 0.664 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.129, allocations: 52.05 kB / 0.664 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/1.131, allocations: 0.7415 MB / 0.6647 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.131, allocations: 5.438 kB / 0.6648 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.131, allocations: 0 / 0.6648 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.131, allocations: 3.938 kB / 0.6648 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/1.134, allocations: 1.278 MB / 0.666 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.134, allocations: 2.781 kB / 0.666 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/1.134, allocations: 108.4 kB / 0.6661 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/1.135, allocations: 103.7 kB / 0.6662 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/1.135, allocations: 19.97 kB / 0.6662 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/1.137, allocations: 1.817 MB / 0.668 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.137, allocations: 3.453 kB / 0.668 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/1.139, allocations: 0.9802 MB / 0.669 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/1.14, allocations: 163.6 kB / 0.6691 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/1.14, allocations: 12.75 kB / 0.6691 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/1.14, allocations: 48.16 kB / 0.6692 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.14, allocations: 59.75 kB / 0.6692 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/1.141, allocations: 34.92 kB / 0.6693 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004011/1.141, allocations: 273.1 kB / 0.6695 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.141, allocations: 0.875 kB / 0.6695 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001429/1.142, allocations: 240.5 kB / 0.6698 GB, free: 9.477 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.0009184/1.143, allocations: 327.4 kB / 0.6701 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001701/1.145, allocations: 0.6105 MB / 0.6707 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.145, allocations: 0.8438 kB / 0.6707 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/1.146, allocations: 414.8 kB / 0.6711 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.147, allocations: 209.5 kB / 0.6713 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/1.149, allocations: 1.173 MB / 0.6724 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/1.15, allocations: 0.8556 MB / 0.6732 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005561/1.15, allocations: 150.3 kB / 0.6734 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.151, allocations: 79.95 kB / 0.6735 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/1.151, allocations: 0 / 0.6735 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of Templates: time 0.02225/1.173, allocations: 13.66 MB / 0.6868 GB, free: 4.41 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)