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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001343/0.001343, allocations: 190.6 kB / 16.14 MB, free: 6.703 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 MB, free: 4.766 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.365/0.365, allocations: 37.98 MB / 307.3 MB, free: 9.996 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.001803/0.001803, allocations: 68.47 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1544, allocations: 56.46 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5038/0.6582, allocations: 161.4 MB / 0.5786 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008151/0.6665, allocations: 4.274 MB / 0.5827 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.6678, allocations: 15.88 kB / 0.5828 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.6697, allocations: 183 kB / 0.5829 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.6729, allocations: 0.734 MB / 0.5836 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.6752, allocations: 0.5889 MB / 0.5842 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.6772, allocations: 1.595 MB / 0.5858 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.6777, allocations: 283.9 kB / 0.5861 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/0.6785, allocations: 414.3 kB / 0.5864 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.679, allocations: 402.3 kB / 0.5868 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.679, allocations: 24 kB / 0.5869 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.6802, allocations: 0.5147 MB / 0.5874 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.6804, allocations: 147.5 kB / 0.5875 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.6807, allocations: 254.7 kB / 0.5877 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.6819, allocations: 0.9466 MB / 0.5887 GB, free: 12.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.682, allocations: 0 / 0.5887 GB, free: 12.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.682, allocations: 0 / 0.5887 GB, free: 12.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.682, allocations: 0 / 0.5887 GB, free: 12.28 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.002076/0.6841, allocations: 0.9095 MB / 0.5896 GB, free: 11.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6841, allocations: 15.97 kB / 0.5896 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.6845, allocations: 75.33 kB / 0.5896 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.6851, allocations: 390.4 kB / 0.59 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.6852, allocations: 57.83 kB / 0.5901 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.6853, allocations: 40 kB / 0.5901 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.6862, allocations: 0.5205 MB / 0.5906 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.6863, allocations: 3.938 kB / 0.5906 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.6863, allocations: 20 kB / 0.5906 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.6864, allocations: 12.66 kB / 0.5906 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008869/0.6873, allocations: 410.2 kB / 0.591 GB, free: 9.707 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.003082/0.6904, allocations: 2.493 MB / 0.5935 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.6912, allocations: 343.4 kB / 0.5938 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.6915, allocations: 161.3 kB / 0.594 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.6916, allocations: 4.281 kB / 0.594 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.6921, allocations: 268.2 kB / 0.5942 GB, free: 6.238 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.6922, allocations: 4 kB / 0.5942 GB, free: 6.234 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.0121/0.7043, allocations: 3.239 MB / 0.5974 GB, free: 2.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.7045, allocations: 170.2 kB / 0.5975 GB, free: 2.672 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008172/0.7054, allocations: 385.5 kB / 0.5979 GB, free: 2.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.7055, allocations: 33.7 kB / 0.5979 GB, free: 2.242 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.7059, allocations: 259.9 kB / 0.5982 GB, free: 1.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.706, allocations: 157.7 kB / 0.5983 GB, free: 1.828 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.7062, allocations: 130.2 kB / 0.5985 GB, free: 1.695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7063, allocations: 354.8 kB / 0.5988 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.7069, allocations: 221.1 kB / 0.599 GB, free: 1.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.7076, allocations: 409.1 kB / 0.5994 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.7089, allocations: 0.6356 MB / 0.6 GB, free: 15.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7089, allocations: 0 / 0.6 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001778/0.7107, allocations: 0.7942 MB / 0.6008 GB, free: 15.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.7107, allocations: 35.11 kB / 0.6008 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7108, allocations: 4 kB / 0.6008 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.7112, allocations: 117.3 kB / 0.601 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.7118, allocations: 139.8 kB / 0.6011 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005548/0.7123, allocations: 0.6742 MB / 0.6017 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.7128, allocations: 60.02 kB / 0.6018 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.7129, allocations: 43.98 kB / 0.6018 GB, free: 14.03 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.000267/0.7132, allocations: 197.6 kB / 0.602 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.7133, allocations: 47.44 kB / 0.6021 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.7152, allocations: 0.7351 MB / 0.6028 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7152, allocations: 7.875 kB / 0.6028 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7153, allocations: 0 / 0.6028 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.7153, allocations: 3.984 kB / 0.6028 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.7177, allocations: 1.289 MB / 0.6041 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7177, allocations: 0 / 0.6041 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.7181, allocations: 103.9 kB / 0.6042 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/0.7187, allocations: 104.9 kB / 0.6043 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.7188, allocations: 23.98 kB / 0.6043 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.7205, allocations: 1.691 MB / 0.6059 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7205, allocations: 0 / 0.6059 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.7226, allocations: 0.9736 MB / 0.6069 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.7228, allocations: 156.5 kB / 0.607 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.7229, allocations: 23.92 kB / 0.6071 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.7234, allocations: 44.05 kB / 0.6071 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.7236, allocations: 67.84 kB / 0.6072 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.7237, allocations: 35.98 kB / 0.6072 GB, free: 8.254 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002994/0.724, allocations: 271.1 kB / 0.6075 GB, free: 7.992 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.724, allocations: 0 / 0.6075 GB, free: 7.992 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008928/0.7249, allocations: 240 kB / 0.6077 GB, free: 7.758 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.000946/0.7258, allocations: 328 kB / 0.608 GB, free: 7.445 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.7273, allocations: 0.5992 MB / 0.6086 GB, free: 6.836 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7273, allocations: 0 / 0.6086 GB, free: 6.836 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008251/0.7282, allocations: 414.3 kB / 0.609 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.7293, allocations: 194.4 kB / 0.6092 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.7318, allocations: 1.335 MB / 0.6105 GB, free: 4.867 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.7323, allocations: 0.8592 MB / 0.6113 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007199/0.7331, allocations: 156.7 kB / 0.6115 GB, free: 3.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.7333, allocations: 75.41 kB / 0.6115 GB, free: 3.75 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7333, allocations: 4 kB / 0.6115 GB, free: 3.746 MB / 478.1 MB Notification: Performance of Templates: time 0.02459/0.7579, allocations: 12.94 MB / 0.6242 GB, free: 6.852 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)