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.001144/0.001145, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.52/1.52, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3439/0.3439, allocations: 39.94 MB / 309.7 MB, free: 9.293 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.001717/0.001717, allocations: 70.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 56.88 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.453/0.5821, allocations: 163.3 MB / 0.5838 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006402/0.5885, allocations: 4.108 MB / 0.5878 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.5892, allocations: 15.94 kB / 0.5879 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.59, allocations: 210.6 kB / 0.5881 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.5925, allocations: 0.8258 MB / 0.5889 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.5943, allocations: 0.6634 MB / 0.5895 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.5957, allocations: 1.146 MB / 0.5906 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.5962, allocations: 337.1 kB / 0.591 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008509/0.597, allocations: 462.3 kB / 0.5914 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.5975, allocations: 382.4 kB / 0.5918 GB, free: 7.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.5976, allocations: 44 kB / 0.5918 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.5989, allocations: 0.5461 MB / 0.5923 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.5991, allocations: 159.6 kB / 0.5925 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.5994, allocations: 270.7 kB / 0.5927 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.6009, allocations: 0.9583 MB / 0.5937 GB, free: 5.852 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6009, allocations: 3.938 kB / 0.5937 GB, free: 5.848 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6009, allocations: 4 kB / 0.5937 GB, free: 5.844 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.6009, allocations: 0 / 0.5937 GB, free: 5.844 MB / 462.1 MB 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.002001/0.6029, allocations: 0.8998 MB / 0.5946 GB, free: 4.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.603, allocations: 15.89 kB / 0.5946 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/0.6034, allocations: 76.64 kB / 0.5947 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.6041, allocations: 390.4 kB / 0.595 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.6042, allocations: 58.7 kB / 0.5951 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.6043, allocations: 36 kB / 0.5951 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.6054, allocations: 0.5321 MB / 0.5956 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.6054, allocations: 3.906 kB / 0.5956 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.6055, allocations: 19.94 kB / 0.5957 GB, free: 3.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.6055, allocations: 16.66 kB / 0.5957 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.6064, allocations: 398.2 kB / 0.5961 GB, free: 3.273 MB / 462.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.003525/0.61, allocations: 2.504 MB / 0.5985 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.6108, allocations: 341.6 kB / 0.5988 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.6112, allocations: 165.3 kB / 0.599 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.6112, allocations: 4.281 kB / 0.599 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.6119, allocations: 264.1 kB / 0.5992 GB, free: 15.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.565e-06/0.6119, allocations: 4 kB / 0.5992 GB, free: 15.8 MB / 478.1 MB 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.01281/0.6247, allocations: 3.247 MB / 0.6024 GB, free: 12.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6248, allocations: 158.2 kB / 0.6026 GB, free: 12.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.6253, allocations: 389.5 kB / 0.6029 GB, free: 11.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.6254, allocations: 37.7 kB / 0.603 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.6256, allocations: 252 kB / 0.6032 GB, free: 11.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.6257, allocations: 161.7 kB / 0.6034 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.626, allocations: 126.2 kB / 0.6035 GB, free: 11.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6261, allocations: 354.8 kB / 0.6038 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/0.6268, allocations: 222.5 kB / 0.604 GB, free: 10.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/0.6275, allocations: 417.1 kB / 0.6044 GB, free: 10.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.629, allocations: 0.6316 MB / 0.6051 GB, free: 9.504 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.629, allocations: 0 / 0.6051 GB, free: 9.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002142/0.6311, allocations: 0.7941 MB / 0.6058 GB, free: 8.695 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.6312, allocations: 33.7 kB / 0.6059 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6312, allocations: 4 kB / 0.6059 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.6317, allocations: 121.4 kB / 0.606 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.6323, allocations: 135.8 kB / 0.6061 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.633, allocations: 0.6732 MB / 0.6068 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.6335, allocations: 52.02 kB / 0.6068 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.6336, allocations: 40.69 kB / 0.6069 GB, free: 7.609 MB / 478.1 MB 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.0003377/0.634, allocations: 197.7 kB / 0.607 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.6341, allocations: 47.44 kB / 0.6071 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.6362, allocations: 0.7413 MB / 0.6078 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6362, allocations: 4 kB / 0.6078 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6362, allocations: 0 / 0.6078 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.6362, allocations: 0 / 0.6078 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.6388, allocations: 1.288 MB / 0.6091 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6388, allocations: 0 / 0.6091 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.6392, allocations: 103.9 kB / 0.6092 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.6398, allocations: 104.9 kB / 0.6093 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.6399, allocations: 17.19 kB / 0.6093 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6418, allocations: 1.828 MB / 0.6111 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6418, allocations: 3.938 kB / 0.6111 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.6443, allocations: 0.9658 MB / 0.612 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.6446, allocations: 168.5 kB / 0.6122 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.6447, allocations: 12 kB / 0.6122 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.6451, allocations: 39.95 kB / 0.6122 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.6453, allocations: 67.86 kB / 0.6123 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.6454, allocations: 39.98 kB / 0.6123 GB, free: 1.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.6457, allocations: 271.1 kB / 0.6126 GB, free: 1.441 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6457, allocations: 3.938 kB / 0.6126 GB, free: 1.438 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.6466, allocations: 239.9 kB / 0.6128 GB, free: 1.203 MB / 478.1 MB 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.00081/0.6474, allocations: 320.6 kB / 0.6131 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.6492, allocations: 0.6366 MB / 0.6138 GB, free: 252 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6492, allocations: 5.125 kB / 0.6138 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.6501, allocations: 414.7 kB / 0.6142 GB, free: 15.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6511, allocations: 203.4 kB / 0.6144 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.6533, allocations: 1.167 MB / 0.6155 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.6537, allocations: 0.8591 MB / 0.6163 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006665/0.6544, allocations: 152.5 kB / 0.6165 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.6547, allocations: 79.41 kB / 0.6166 GB, free: 13.32 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6547, allocations: 0 / 0.6166 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Templates: time 0.2627/0.9173, allocations: 13.54 MB / 0.6298 GB, free: 160.5 MB / 494.1 MB 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)