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.001475/0.001476, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01187/0.01187, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.629/1.629, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3965/0.3965, allocations: 40 MB / 310.7 MB, free: 9.938 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.0006295/0.0006295, allocations: 16 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4914/0.6359, allocations: 159.3 MB / 0.5827 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.6429, allocations: 4.213 MB / 0.5869 GB, free: 72 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.6438, allocations: 15.88 kB / 0.5869 GB, free: 56 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.6446, allocations: 183.1 kB / 0.587 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.6473, allocations: 0.7273 MB / 0.5878 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.6491, allocations: 0.5921 MB / 0.5883 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.651, allocations: 1.595 MB / 0.5899 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.6515, allocations: 272.6 kB / 0.5902 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008333/0.6524, allocations: 418.3 kB / 0.5906 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005338/0.6529, allocations: 390.3 kB / 0.5909 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.653, allocations: 24 kB / 0.5909 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.6544, allocations: 0.5109 MB / 0.5914 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.6546, allocations: 139.5 kB / 0.5916 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.6549, allocations: 272.4 kB / 0.5918 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.6561, allocations: 0.9487 MB / 0.5928 GB, free: 10.01 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6561, allocations: 0 / 0.5928 GB, free: 10.01 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6561, allocations: 0 / 0.5928 GB, free: 10.01 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.6561, allocations: 0 / 0.5928 GB, free: 10.01 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.002205/0.6583, allocations: 0.8141 MB / 0.5936 GB, free: 9.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.6584, allocations: 8.031 kB / 0.5936 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/0.6589, allocations: 68.3 kB / 0.5936 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.6595, allocations: 398.3 kB / 0.594 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.6597, allocations: 66.69 kB / 0.5941 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.6597, allocations: 39.91 kB / 0.5941 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.6607, allocations: 0.5322 MB / 0.5946 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6608, allocations: 3.938 kB / 0.5946 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.6608, allocations: 23.94 kB / 0.5947 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.6609, allocations: 16.64 kB / 0.5947 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.6618, allocations: 430.2 kB / 0.5951 GB, free: 7.484 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.003197/0.665, allocations: 2.518 MB / 0.5975 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008229/0.6659, allocations: 363.5 kB / 0.5979 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.6662, allocations: 173.3 kB / 0.5981 GB, free: 4.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.6663, allocations: 4.281 kB / 0.5981 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/0.6669, allocations: 292.1 kB / 0.5983 GB, free: 3.938 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.6669, allocations: 0 / 0.5983 GB, free: 3.938 MB / 462.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.01247/0.6794, allocations: 3.605 MB / 0.6019 GB, free: 212 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6795, allocations: 166.2 kB / 0.602 GB, free: 8 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.68, allocations: 385.5 kB / 0.6024 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.6801, allocations: 37.7 kB / 0.6024 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.6803, allocations: 255.9 kB / 0.6027 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.6804, allocations: 161.7 kB / 0.6028 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.6806, allocations: 53.62 kB / 0.6029 GB, free: 15.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6807, allocations: 358.8 kB / 0.6032 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.6814, allocations: 249.1 kB / 0.6035 GB, free: 14.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.6822, allocations: 433.1 kB / 0.6039 GB, free: 14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.6836, allocations: 0.6825 MB / 0.6045 GB, free: 13.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6836, allocations: 0 / 0.6045 GB, free: 13.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001967/0.6856, allocations: 0.841 MB / 0.6054 GB, free: 12.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.6857, allocations: 33.7 kB / 0.6054 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6857, allocations: 4 kB / 0.6054 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.6862, allocations: 125.4 kB / 0.6055 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.6867, allocations: 147.8 kB / 0.6057 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000608/0.6874, allocations: 0.6733 MB / 0.6063 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.6879, allocations: 67.94 kB / 0.6064 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.688, allocations: 52.05 kB / 0.6064 GB, free: 11.26 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.0002989/0.6883, allocations: 197.6 kB / 0.6066 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.6884, allocations: 47.44 kB / 0.6067 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.6905, allocations: 0.7836 MB / 0.6074 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6906, allocations: 4 kB / 0.6074 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.6906, allocations: 0 / 0.6074 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.6906, allocations: 11.92 kB / 0.6074 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.6932, allocations: 1.323 MB / 0.6087 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6932, allocations: 8.031 kB / 0.6087 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.6937, allocations: 115.9 kB / 0.6088 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.6943, allocations: 108.8 kB / 0.609 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.6943, allocations: 19.98 kB / 0.609 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.6962, allocations: 1.703 MB / 0.6106 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6962, allocations: 0 / 0.6106 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.6986, allocations: 1.044 MB / 0.6117 GB, free: 5.629 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.6988, allocations: 168.5 kB / 0.6118 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.529e-05/0.6989, allocations: 11.94 kB / 0.6118 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.6994, allocations: 67.88 kB / 0.6119 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6995, allocations: 63.86 kB / 0.6119 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.6996, allocations: 35.98 kB / 0.612 GB, free: 5.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.6999, allocations: 271.1 kB / 0.6122 GB, free: 5.008 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6999, allocations: 4 kB / 0.6122 GB, free: 5.004 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000826/0.7007, allocations: 232 kB / 0.6125 GB, free: 4.777 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.0008385/0.7016, allocations: 312.1 kB / 0.6128 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.7032, allocations: 0.6537 MB / 0.6134 GB, free: 3.809 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7032, allocations: 0 / 0.6134 GB, free: 3.809 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008769/0.7041, allocations: 443 kB / 0.6138 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.7053, allocations: 211.9 kB / 0.614 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.7077, allocations: 1.443 MB / 0.6154 GB, free: 1.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.7083, allocations: 0.8553 MB / 0.6163 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007236/0.709, allocations: 148.6 kB / 0.6164 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.7093, allocations: 71.41 kB / 0.6165 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7093, allocations: 0 / 0.6165 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of Templates: time 0.02612/0.7354, allocations: 12.89 MB / 0.6291 GB, free: 3.734 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: