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.001652/0.001652, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002276/0.002276, allocations: 194.2 kB / 16.14 MB, free: 6.656 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.73 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.4476/0.4476, allocations: 39.94 MB / 309.3 MB, free: 9.648 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.001648/0.001648, allocations: 67.91 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1704, allocations: 56.88 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5083/0.6787, allocations: 161.4 MB / 0.5813 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006019/0.6848, allocations: 4.269 MB / 0.5855 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005834/0.6854, allocations: 15.88 kB / 0.5855 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.6862, allocations: 186.9 kB / 0.5857 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.6884, allocations: 0.7317 MB / 0.5864 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.6901, allocations: 0.5925 MB / 0.5869 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.6915, allocations: 1.585 MB / 0.5885 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.6919, allocations: 295 kB / 0.5888 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.6926, allocations: 422.3 kB / 0.5892 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.693, allocations: 394.4 kB / 0.5896 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.6931, allocations: 24 kB / 0.5896 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.6941, allocations: 0.5186 MB / 0.5901 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.6943, allocations: 135.6 kB / 0.5902 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.6945, allocations: 258.6 kB / 0.5905 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.6956, allocations: 0.9466 MB / 0.5914 GB, free: 8.242 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6956, allocations: 0 / 0.5914 GB, free: 8.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6956, allocations: 4 kB / 0.5914 GB, free: 8.238 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.6956, allocations: 0 / 0.5914 GB, free: 8.238 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.001776/0.6974, allocations: 0.9075 MB / 0.5923 GB, free: 7.273 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6975, allocations: 12.03 kB / 0.5923 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.6979, allocations: 71.42 kB / 0.5924 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.6984, allocations: 394.4 kB / 0.5927 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.6985, allocations: 50.7 kB / 0.5928 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.6986, allocations: 43.89 kB / 0.5928 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.6995, allocations: 0.5283 MB / 0.5933 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.6995, allocations: 0 / 0.5933 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.6995, allocations: 12 kB / 0.5933 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.6996, allocations: 20.66 kB / 0.5934 GB, free: 6.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.7004, allocations: 402.1 kB / 0.5938 GB, free: 5.672 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.002949/0.7034, allocations: 2.501 MB / 0.5962 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.7041, allocations: 343.2 kB / 0.5965 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.7045, allocations: 165.3 kB / 0.5967 GB, free: 2.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.7046, allocations: 4.281 kB / 0.5967 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.7051, allocations: 268.1 kB / 0.5969 GB, free: 2.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.7051, allocations: 0 / 0.5969 GB, free: 2.195 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.01127/0.7164, allocations: 3.239 MB / 0.6001 GB, free: 14.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.7165, allocations: 158.2 kB / 0.6003 GB, free: 14.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.7169, allocations: 389.5 kB / 0.6006 GB, free: 14.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.7169, allocations: 37.7 kB / 0.6007 GB, free: 14.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.7171, allocations: 251.9 kB / 0.6009 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.7173, allocations: 165.6 kB / 0.6011 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.7175, allocations: 126.3 kB / 0.6012 GB, free: 13.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7176, allocations: 362.7 kB / 0.6015 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.7182, allocations: 217.1 kB / 0.6017 GB, free: 13.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.7189, allocations: 413.1 kB / 0.6021 GB, free: 12.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.7201, allocations: 0.6316 MB / 0.6027 GB, free: 11.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7201, allocations: 0.875 kB / 0.6027 GB, free: 11.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001799/0.7219, allocations: 0.798 MB / 0.6035 GB, free: 11.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.722, allocations: 33.7 kB / 0.6036 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.722, allocations: 4 kB / 0.6036 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.7224, allocations: 125.4 kB / 0.6037 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.723, allocations: 135.8 kB / 0.6038 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/0.7236, allocations: 0.6665 MB / 0.6045 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.7241, allocations: 60 kB / 0.6045 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.7242, allocations: 47.73 kB / 0.6046 GB, free: 9.996 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.0002837/0.7245, allocations: 205.7 kB / 0.6048 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.7246, allocations: 47.44 kB / 0.6048 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.7265, allocations: 0.7388 MB / 0.6055 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7265, allocations: 4 kB / 0.6055 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7265, allocations: 0 / 0.6055 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.7265, allocations: 3.984 kB / 0.6055 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.7289, allocations: 1.28 MB / 0.6068 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7289, allocations: 3.938 kB / 0.6068 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.7294, allocations: 103.9 kB / 0.6069 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005391/0.7299, allocations: 108.9 kB / 0.607 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.73, allocations: 19.98 kB / 0.607 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.7316, allocations: 1.693 MB / 0.6087 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7317, allocations: 0 / 0.6087 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.7338, allocations: 0.9659 MB / 0.6096 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.734, allocations: 156.5 kB / 0.6098 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.7341, allocations: 23.88 kB / 0.6098 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.7346, allocations: 51.94 kB / 0.6098 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.7348, allocations: 59.86 kB / 0.6099 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.7348, allocations: 35.98 kB / 0.6099 GB, free: 4.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.7352, allocations: 275.1 kB / 0.6102 GB, free: 3.957 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7352, allocations: 0 / 0.6102 GB, free: 3.957 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008598/0.736, allocations: 236 kB / 0.6104 GB, free: 3.727 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.0008472/0.7369, allocations: 319 kB / 0.6107 GB, free: 3.414 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.7385, allocations: 0.6029 MB / 0.6113 GB, free: 2.801 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7385, allocations: 0 / 0.6113 GB, free: 2.801 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.7393, allocations: 415.2 kB / 0.6117 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7404, allocations: 206.6 kB / 0.6119 GB, free: 2.195 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.7425, allocations: 1.327 MB / 0.6132 GB, free: 0.832 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.743, allocations: 0.8553 MB / 0.614 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006502/0.7436, allocations: 152.7 kB / 0.6142 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.7439, allocations: 75.42 kB / 0.6142 GB, free: 15.72 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7439, allocations: 0 / 0.6142 GB, free: 15.72 MB / 494.1 MB Notification: Performance of Templates: time 0.01971/0.7636, allocations: 12.96 MB / 0.6269 GB, free: 2.809 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)