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.001247/0.001247, allocations: 203.9 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008629/0.0008628, allocations: 98.94 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4678/0.4678, allocations: 44.82 MB / 394.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 8 kB / 467.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4899, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.728, allocations: 490.3 MB / 0.9972 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004715/1.729, allocations: 95.92 kB / 0.9973 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2183/1.947, allocations: 100 MB / 1.095 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.906e-06/1.947, allocations: 0 / 1.095 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.812e-05/1.947, allocations: 16 kB / 1.095 GB, free: 26.47 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.002511/1.95, allocations: 0.8681 MB / 1.096 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.95, allocations: 8.875 kB / 1.096 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/1.951, allocations: 76.27 kB / 1.096 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009152/1.951, allocations: 411.6 kB / 1.096 GB, free: 25.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/1.952, allocations: 67.23 kB / 1.096 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.952, allocations: 36.75 kB / 1.096 GB, free: 24.92 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.953, allocations: 0.5369 MB / 1.097 GB, free: 24.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/1.953, allocations: 7.938 kB / 1.097 GB, free: 24.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/1.953, allocations: 16 kB / 1.097 GB, free: 24.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/1.953, allocations: 16.64 kB / 1.097 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/1.954, allocations: 426.2 kB / 1.097 GB, free: 23.88 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.00312/1.957, allocations: 2.478 MB / 1.1 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/1.958, allocations: 347.4 kB / 1.1 GB, free: 20.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.958, allocations: 177.3 kB / 1.1 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/1.958, allocations: 4.281 kB / 1.1 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/1.959, allocations: 288.9 kB / 1.101 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 3.897e-06/1.959, allocations: 0 / 1.101 GB, free: 20.39 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.01133/1.97, allocations: 3.62 MB / 1.104 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/1.97, allocations: 166.2 kB / 1.104 GB, free: 16.44 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/1.971, allocations: 381.5 kB / 1.105 GB, free: 16.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/1.971, allocations: 37.7 kB / 1.105 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/1.971, allocations: 252 kB / 1.105 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/1.971, allocations: 157.7 kB / 1.105 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/1.971, allocations: 8 kB / 1.105 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.971, allocations: 366.7 kB / 1.105 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/1.972, allocations: 237.2 kB / 1.106 GB, free: 15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/1.972, allocations: 437.1 kB / 1.106 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.974, allocations: 0.6708 MB / 1.107 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.974, allocations: 4 kB / 1.107 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001561/1.975, allocations: 0.8064 MB / 1.108 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/1.975, allocations: 37.7 kB / 1.108 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.975, allocations: 4 kB / 1.108 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/1.976, allocations: 120.8 kB / 1.108 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/1.976, allocations: 148 kB / 1.108 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005655/1.977, allocations: 0.6771 MB / 1.108 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/1.977, allocations: 75.94 kB / 1.109 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/1.978, allocations: 40 kB / 1.109 GB, free: 11.79 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.000337/1.978, allocations: 197.7 kB / 1.109 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.978, allocations: 59.31 kB / 1.109 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.98, allocations: 0.7719 MB / 1.11 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.98, allocations: 4 kB / 1.11 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.98, allocations: 3.938 kB / 1.11 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.98, allocations: 3.984 kB / 1.11 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.982, allocations: 1.324 MB / 1.111 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.982, allocations: 3.938 kB / 1.111 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/1.983, allocations: 120 kB / 1.111 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/1.983, allocations: 104.8 kB / 1.111 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/1.983, allocations: 15.98 kB / 1.111 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/1.985, allocations: 1.691 MB / 1.113 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.985, allocations: 7.969 kB / 1.113 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/1.987, allocations: 1.032 MB / 1.114 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/1.987, allocations: 168.5 kB / 1.114 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.987, allocations: 8 kB / 1.114 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/1.988, allocations: 63.94 kB / 1.114 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.988, allocations: 59.91 kB / 1.114 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/1.988, allocations: 35.98 kB / 1.114 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003552/1.989, allocations: 275.1 kB / 1.114 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/1.989, allocations: 0 / 1.114 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001259/1.99, allocations: 303.8 kB / 1.115 GB, free: 5.281 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.002011/1.992, allocations: 0.8046 MB / 1.115 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.993, allocations: 0.646 MB / 1.116 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.994, allocations: 3.938 kB / 1.116 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/1.994, allocations: 426.6 kB / 1.116 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.996, allocations: 187.6 kB / 1.117 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/1.998, allocations: 1.393 MB / 1.118 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/1.998, allocations: 0.8592 MB / 1.119 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007208/1.999, allocations: 148.5 kB / 1.119 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/1.999, allocations: 71.42 kB / 1.119 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/1.999, allocations: 4 kB / 1.119 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of Templates: time 0.3874/2.386, allocations: 20.18 MB / 1.139 GB, free: 143.7 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)