Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 198.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009164, allocations: 103.2 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.302/0.302, allocations: 45.24 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3146, allocations: 63.25 MB / 0.5192 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.925/1.24, allocations: 490.3 MB / 0.998 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.24, allocations: 92.56 kB / 0.9981 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1975/1.438, allocations: 100.6 MB / 1.096 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/1.438, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.574e-05/1.438, allocations: 15.88 kB / 1.096 GB, free: 9.273 MB / 0.5417 GB 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.002006/1.44, allocations: 0.8722 MB / 1.097 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.44, allocations: 15.98 kB / 1.097 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/1.44, allocations: 71.38 kB / 1.097 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/1.441, allocations: 410.5 kB / 1.098 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/1.441, allocations: 58.69 kB / 1.098 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/1.441, allocations: 40 kB / 1.098 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/1.442, allocations: 0.5291 MB / 1.098 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/1.442, allocations: 0 / 1.098 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/1.442, allocations: 20 kB / 1.098 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/1.442, allocations: 16.64 kB / 1.098 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/1.443, allocations: 426.1 kB / 1.099 GB, free: 6.695 MB / 0.5417 GB 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.002629/1.446, allocations: 2.461 MB / 1.101 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/1.446, allocations: 365.1 kB / 1.101 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/1.446, allocations: 4.281 kB / 1.101 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/1.447, allocations: 273.7 kB / 1.102 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/1.447, allocations: 3.938 kB / 1.102 GB, free: 3.398 MB / 0.5417 GB 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.2717/1.718, allocations: 3.629 MB / 1.105 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/1.719, allocations: 164.9 kB / 1.105 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/1.719, allocations: 334.3 kB / 1.106 GB, free: 146 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/1.719, allocations: 38.31 kB / 1.106 GB, free: 146 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/1.719, allocations: 253.2 kB / 1.106 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.72, allocations: 162.7 kB / 1.106 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/1.72, allocations: 14.62 kB / 1.106 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/1.72, allocations: 350.2 kB / 1.107 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/1.72, allocations: 244.9 kB / 1.107 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/1.721, allocations: 425.4 kB / 1.107 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/1.722, allocations: 315.6 kB / 1.107 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.722, allocations: 3.5 kB / 1.107 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001659/1.723, allocations: 0.8004 MB / 1.108 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/1.723, allocations: 35.95 kB / 1.108 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.723, allocations: 4.531 kB / 1.108 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/1.724, allocations: 124.9 kB / 1.108 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/1.724, allocations: 151.8 kB / 1.109 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000446/1.725, allocations: 0.6714 MB / 1.109 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/1.725, allocations: 70.78 kB / 1.109 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/1.726, allocations: 44.53 kB / 1.109 GB, free: 144.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002315/1.726, allocations: 202.1 kB / 1.11 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/1.726, allocations: 49.69 kB / 1.11 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/1.728, allocations: 0.7844 MB / 1.11 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.728, allocations: 5.562 kB / 1.11 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.728, allocations: 0 / 1.11 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.728, allocations: 3.234 kB / 1.11 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.73, allocations: 1.327 MB / 1.112 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.73, allocations: 4.531 kB / 1.112 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/1.73, allocations: 122.9 kB / 1.112 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/1.731, allocations: 95.92 kB / 1.112 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/1.731, allocations: 25.98 kB / 1.112 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/1.732, allocations: 1.71 MB / 1.114 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.732, allocations: 3.953 kB / 1.114 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/1.734, allocations: 1.088 MB / 1.115 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/1.735, allocations: 167.1 kB / 1.115 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/1.735, allocations: 8.844 kB / 1.115 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/1.735, allocations: 63.38 kB / 1.115 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.735, allocations: 66.22 kB / 1.115 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/1.735, allocations: 32.72 kB / 1.115 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002254/1.735, allocations: 266.6 kB / 1.115 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.735, allocations: 0 / 1.115 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009694/1.736, allocations: 300.2 kB / 1.115 GB, free: 142.2 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/1.738, allocations: 0.7989 MB / 1.116 GB, free: 142.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.739, allocations: 0.6561 MB / 1.117 GB, free: 142 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.739, allocations: 1.016 kB / 1.117 GB, free: 142 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007187/1.74, allocations: 423.7 kB / 1.117 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/1.741, allocations: 187.1 kB / 1.117 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/1.742, allocations: 1.388 MB / 1.119 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/1.742, allocations: 0.8664 MB / 1.12 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005914/1.743, allocations: 152.8 kB / 1.12 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.743, allocations: 74.48 kB / 1.12 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/1.743, allocations: 3.344 kB / 1.12 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.02821/1.771, allocations: 19.41 MB / 1.139 GB, free: 139.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)