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.001156/0.001156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001366/0.001366, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.458/1.458, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3246/0.3246, allocations: 39.93 MB / 309.4 MB, free: 9.039 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.002021/0.002021, allocations: 71.91 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 56.88 MB / 434 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4374/0.5716, allocations: 161.4 MB / 0.5815 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.5829, allocations: 4.131 MB / 0.5855 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.5843, allocations: 19.81 kB / 0.5855 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.5857, allocations: 187 kB / 0.5857 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.5903, allocations: 0.7677 MB / 0.5864 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.5932, allocations: 0.6102 MB / 0.587 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.5954, allocations: 1.15 MB / 0.5882 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000776/0.5962, allocations: 329.5 kB / 0.5885 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5974, allocations: 474.3 kB / 0.5889 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.5981, allocations: 402.4 kB / 0.5893 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.934e-05/0.5983, allocations: 44 kB / 0.5894 GB, free: 10 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.6, allocations: 0.5591 MB / 0.5899 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.6002, allocations: 155.6 kB / 0.59 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.6006, allocations: 282.6 kB / 0.5903 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.6025, allocations: 0.9661 MB / 0.5913 GB, free: 8.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.6025, allocations: 0 / 0.5913 GB, free: 8.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6025, allocations: 0 / 0.5913 GB, free: 8.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.6025, allocations: 0 / 0.5913 GB, free: 8.047 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.00225/0.6048, allocations: 0.9075 MB / 0.5921 GB, free: 7.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6049, allocations: 11.89 kB / 0.5922 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.6054, allocations: 75.42 kB / 0.5922 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.6062, allocations: 390.4 kB / 0.5926 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.6063, allocations: 62.64 kB / 0.5927 GB, free: 6.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.6064, allocations: 43.89 kB / 0.5927 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6077, allocations: 0.5244 MB / 0.5932 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.6077, allocations: 0 / 0.5932 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.6078, allocations: 12 kB / 0.5932 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.6079, allocations: 28.58 kB / 0.5933 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.6091, allocations: 402.1 kB / 0.5936 GB, free: 5.465 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.004295/0.6134, allocations: 2.492 MB / 0.5961 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.6145, allocations: 341.7 kB / 0.5964 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.615, allocations: 157.3 kB / 0.5965 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.615, allocations: 4.281 kB / 0.5966 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007128/0.6157, allocations: 276.1 kB / 0.5968 GB, free: 2.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/0.6158, allocations: 0 / 0.5968 GB, free: 2.004 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.01611/0.6319, allocations: 3.239 MB / 0.6 GB, free: 14.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.6321, allocations: 158.2 kB / 0.6001 GB, free: 14.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.6326, allocations: 393.4 kB / 0.6005 GB, free: 14.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.6327, allocations: 37.7 kB / 0.6005 GB, free: 14.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.6329, allocations: 248 kB / 0.6008 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.633, allocations: 169.6 kB / 0.6009 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.6332, allocations: 122.3 kB / 0.6011 GB, free: 13.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6334, allocations: 358.8 kB / 0.6014 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.6339, allocations: 217.1 kB / 0.6016 GB, free: 12.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.6346, allocations: 413.1 kB / 0.602 GB, free: 12.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.6359, allocations: 0.6355 MB / 0.6026 GB, free: 11.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6359, allocations: 0 / 0.6026 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002019/0.638, allocations: 0.798 MB / 0.6034 GB, free: 10.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.638, allocations: 35.92 kB / 0.6034 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.6381, allocations: 4 kB / 0.6034 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.6385, allocations: 120.8 kB / 0.6035 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.6391, allocations: 131.8 kB / 0.6037 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005935/0.6397, allocations: 0.6772 MB / 0.6043 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.6403, allocations: 49.58 kB / 0.6044 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.6404, allocations: 47.98 kB / 0.6044 GB, free: 9.805 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.0003352/0.6407, allocations: 201.6 kB / 0.6046 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.6408, allocations: 51.5 kB / 0.6047 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.6428, allocations: 0.7381 MB / 0.6054 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.6428, allocations: 8 kB / 0.6054 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6428, allocations: 0 / 0.6054 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6428, allocations: 7.984 kB / 0.6054 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.6454, allocations: 1.269 MB / 0.6066 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6454, allocations: 7.938 kB / 0.6067 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.6459, allocations: 108 kB / 0.6068 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005635/0.6464, allocations: 104.7 kB / 0.6069 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.6465, allocations: 23.98 kB / 0.6069 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.6485, allocations: 1.816 MB / 0.6087 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6485, allocations: 4.031 kB / 0.6087 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.6507, allocations: 0.962 MB / 0.6096 GB, free: 4.242 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.6511, allocations: 164.5 kB / 0.6098 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.6512, allocations: 15 kB / 0.6098 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.6517, allocations: 47.94 kB / 0.6098 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.6519, allocations: 63.95 kB / 0.6099 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.652, allocations: 39.97 kB / 0.6099 GB, free: 3.902 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.6523, allocations: 275.1 kB / 0.6102 GB, free: 3.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6524, allocations: 3.938 kB / 0.6102 GB, free: 3.633 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009556/0.6533, allocations: 239.9 kB / 0.6104 GB, free: 3.398 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.0009143/0.6542, allocations: 317.1 kB / 0.6107 GB, free: 3.094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.6559, allocations: 0.6444 MB / 0.6113 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.656, allocations: 0 / 0.6113 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.6568, allocations: 415.1 kB / 0.6117 GB, free: 2.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.658, allocations: 212.1 kB / 0.6119 GB, free: 1.836 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.6601, allocations: 1.33 MB / 0.6132 GB, free: 484 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.6605, allocations: 0.8514 MB / 0.6141 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006994/0.6613, allocations: 156.6 kB / 0.6142 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.6615, allocations: 67.42 kB / 0.6143 GB, free: 15.37 MB / 494.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6615, allocations: 4 kB / 0.6143 GB, free: 15.36 MB / 494.1 MB Notification: Performance of Templates: time 0.02181/0.6833, allocations: 13.36 MB / 0.6273 GB, free: 2.043 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)