Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001461/0.001461, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001529/0.001529, allocations: 190.6 kB / 16.25 MB, free: 6.617 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.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3606/0.3606, allocations: 37.98 MB / 307.4 MB, free: 10.07 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.1. 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.002803/0.002803, allocations: 70.47 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1505, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4772/0.6278, allocations: 161.4 MB / 0.5787 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.6347, allocations: 4.143 MB / 0.5828 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/0.6358, allocations: 15.88 kB / 0.5828 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.6369, allocations: 183 kB / 0.583 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.642, allocations: 0.7585 MB / 0.5837 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.646, allocations: 0.6136 MB / 0.5843 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.6482, allocations: 1.15 MB / 0.5854 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.6491, allocations: 324.3 kB / 0.5857 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.6504, allocations: 470.3 kB / 0.5862 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.6512, allocations: 402.4 kB / 0.5866 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.6514, allocations: 44 kB / 0.5866 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.6532, allocations: 0.5616 MB / 0.5872 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.6535, allocations: 159.5 kB / 0.5873 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.6541, allocations: 274.7 kB / 0.5876 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.657, allocations: 0.9739 MB / 0.5885 GB, free: 12.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.657, allocations: 0 / 0.5885 GB, free: 12.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.6571, allocations: 0 / 0.5885 GB, free: 12.49 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.252e-05/0.6571, allocations: 0 / 0.5885 GB, free: 12.49 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.002836/0.6599, allocations: 0.9017 MB / 0.5894 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.66, allocations: 19.81 kB / 0.5894 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/0.6606, allocations: 79.33 kB / 0.5895 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.6613, allocations: 386.4 kB / 0.5899 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.6614, allocations: 58.7 kB / 0.5899 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.6615, allocations: 39.98 kB / 0.59 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6626, allocations: 0.5205 MB / 0.5905 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.6627, allocations: 13.75 kB / 0.5905 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.6627, allocations: 12 kB / 0.5905 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.6628, allocations: 16.66 kB / 0.5905 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.6637, allocations: 406.1 kB / 0.5909 GB, free: 9.922 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.003199/0.6669, allocations: 2.497 MB / 0.5933 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.6677, allocations: 341.7 kB / 0.5937 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.668, allocations: 160.7 kB / 0.5938 GB, free: 6.746 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.6681, allocations: 8.266 kB / 0.5938 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.6687, allocations: 272.1 kB / 0.5941 GB, free: 6.449 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.6687, allocations: 0 / 0.5941 GB, free: 6.449 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.01336/0.682, allocations: 3.237 MB / 0.5972 GB, free: 3.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6822, allocations: 162.2 kB / 0.5974 GB, free: 2.895 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.6826, allocations: 389.5 kB / 0.5978 GB, free: 2.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.6827, allocations: 33.7 kB / 0.5978 GB, free: 2.461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.6829, allocations: 252 kB / 0.598 GB, free: 2.211 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.6831, allocations: 165.7 kB / 0.5982 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.6832, allocations: 126.2 kB / 0.5983 GB, free: 1.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6834, allocations: 358.8 kB / 0.5987 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.6839, allocations: 217.1 kB / 0.5989 GB, free: 1.348 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.6846, allocations: 414.2 kB / 0.5993 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6858, allocations: 0.6317 MB / 0.5999 GB, free: 160 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6858, allocations: 0 / 0.5999 GB, free: 160 kB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001822/0.6877, allocations: 0.798 MB / 0.6007 GB, free: 15.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.6877, allocations: 34.36 kB / 0.6007 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6877, allocations: 4 kB / 0.6007 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004578/0.6882, allocations: 120.8 kB / 0.6008 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.6887, allocations: 131.8 kB / 0.6009 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000595/0.6894, allocations: 0.6857 MB / 0.6016 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.6899, allocations: 51.94 kB / 0.6017 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.69, allocations: 47.44 kB / 0.6017 GB, free: 14.25 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.0002915/0.6903, allocations: 204.8 kB / 0.6019 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.6904, allocations: 55.44 kB / 0.6019 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.6923, allocations: 0.7279 MB / 0.6027 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.6923, allocations: 4 kB / 0.6027 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6923, allocations: 4 kB / 0.6027 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6923, allocations: 4 kB / 0.6027 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.6947, allocations: 1.285 MB / 0.6039 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.6948, allocations: 4 kB / 0.6039 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.6952, allocations: 112 kB / 0.604 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.6958, allocations: 100.8 kB / 0.6041 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.6959, allocations: 23.94 kB / 0.6042 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.6978, allocations: 1.818 MB / 0.6059 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6978, allocations: 4.031 kB / 0.6059 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.7, allocations: 0.9697 MB / 0.6069 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.7003, allocations: 168.5 kB / 0.607 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.7003, allocations: 12 kB / 0.6071 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.7008, allocations: 47.94 kB / 0.6071 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.701, allocations: 59.92 kB / 0.6072 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.7011, allocations: 32 kB / 0.6072 GB, free: 8.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003343/0.7014, allocations: 275.1 kB / 0.6075 GB, free: 8.074 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7014, allocations: 0 / 0.6075 GB, free: 8.074 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008889/0.7023, allocations: 239.9 kB / 0.6077 GB, free: 7.84 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.0008058/0.7031, allocations: 322.5 kB / 0.608 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.7047, allocations: 0.6328 MB / 0.6086 GB, free: 6.887 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7047, allocations: 0 / 0.6086 GB, free: 6.887 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.7055, allocations: 418.3 kB / 0.609 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7066, allocations: 218.3 kB / 0.6092 GB, free: 6.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.7088, allocations: 1.33 MB / 0.6105 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.7093, allocations: 0.8592 MB / 0.6113 GB, free: 4.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006721/0.71, allocations: 164.5 kB / 0.6115 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.7102, allocations: 67.42 kB / 0.6116 GB, free: 3.789 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7102, allocations: 4 kB / 0.6116 GB, free: 3.785 MB / 478.1 MB Notification: Performance of Templates: time 0.02411/0.7344, allocations: 13.36 MB / 0.6246 GB, free: 6.465 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)