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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.001471, allocations: 197.5 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.542/1.542, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 104.4 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.4753/0.4753, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 63.25 MB / 0.5193 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/1.783, allocations: 490.3 MB / 0.9981 GB, free: 102 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.783, allocations: 96.47 kB / 0.9982 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2087/1.992, allocations: 100.6 MB / 1.096 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.184e-06/1.992, allocations: 0 / 1.096 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.899e-05/1.992, allocations: 15.94 kB / 1.096 GB, free: 9.082 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.002322/1.994, allocations: 0.8683 MB / 1.097 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.388e-05/1.995, allocations: 8.031 kB / 1.097 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/1.995, allocations: 78.53 kB / 1.097 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/1.995, allocations: 79.34 kB / 1.097 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/1.996, allocations: 410.4 kB / 1.098 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/1.996, allocations: 62.67 kB / 1.098 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/1.996, allocations: 43.98 kB / 1.098 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.997, allocations: 0.5214 MB / 1.098 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.997, allocations: 0 / 1.098 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/1.997, allocations: 23.94 kB / 1.098 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/1.997, allocations: 24.59 kB / 1.098 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009651/1.998, allocations: 426.2 kB / 1.099 GB, free: 6.41 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.003863/2.002, allocations: 2.461 MB / 1.101 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/2.003, allocations: 368.7 kB / 1.102 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.655e-05/2.003, allocations: 4.281 kB / 1.102 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005857/2.004, allocations: 277.7 kB / 1.102 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/2.004, allocations: 0 / 1.102 GB, free: 3.109 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.4333/2.437, allocations: 3.622 MB / 1.105 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/2.437, allocations: 162.8 kB / 1.106 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/2.438, allocations: 338.5 kB / 1.106 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/2.438, allocations: 37.72 kB / 1.106 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/2.438, allocations: 252.2 kB / 1.106 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/2.438, allocations: 158.2 kB / 1.106 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/2.438, allocations: 11.94 kB / 1.106 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001246/2.438, allocations: 358 kB / 1.107 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/2.439, allocations: 242.1 kB / 1.107 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/2.44, allocations: 426.4 kB / 1.107 GB, free: 144.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/2.441, allocations: 315.6 kB / 1.108 GB, free: 144.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/2.441, allocations: 1.938 kB / 1.108 GB, free: 144.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002032/2.443, allocations: 0.8088 MB / 1.108 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/2.443, allocations: 35.8 kB / 1.108 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/2.443, allocations: 6.906 kB / 1.108 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/2.444, allocations: 122.1 kB / 1.109 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/2.444, allocations: 148.2 kB / 1.109 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006258/2.445, allocations: 0.6702 MB / 1.109 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/2.446, allocations: 79.11 kB / 1.109 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/2.446, allocations: 37.47 kB / 1.11 GB, free: 144.2 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.0003876/2.446, allocations: 197.8 kB / 1.11 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/2.446, allocations: 48.78 kB / 1.11 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/2.448, allocations: 0.7823 MB / 1.111 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/2.448, allocations: 5.562 kB / 1.111 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/2.448, allocations: 2.75 kB / 1.111 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/2.448, allocations: 6.453 kB / 1.111 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/2.451, allocations: 1.321 MB / 1.112 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/2.451, allocations: 2.484 kB / 1.112 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/2.451, allocations: 118.4 kB / 1.112 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/2.452, allocations: 106.5 kB / 1.112 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/2.452, allocations: 14.5 kB / 1.112 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/2.454, allocations: 1.715 MB / 1.114 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.454, allocations: 6.484 kB / 1.114 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/2.456, allocations: 1.095 MB / 1.115 GB, free: 142 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/2.456, allocations: 161.8 kB / 1.115 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/2.456, allocations: 8.219 kB / 1.115 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/2.457, allocations: 64.55 kB / 1.115 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/2.457, allocations: 66.48 kB / 1.115 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/2.457, allocations: 37.02 kB / 1.115 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003224/2.457, allocations: 263.7 kB / 1.115 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/2.457, allocations: 0 / 1.115 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001349/2.459, allocations: 299.5 kB / 1.116 GB, free: 141.8 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.004239/2.463, allocations: 2.684 MB / 1.118 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001645/2.465, allocations: 0.6385 MB / 1.119 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.465, allocations: 3.5 kB / 1.119 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/2.465, allocations: 437.8 kB / 1.119 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/2.466, allocations: 194.1 kB / 1.12 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/2.473, allocations: 6.603 MB / 1.126 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/2.474, allocations: 0.8715 MB / 1.127 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008465/2.475, allocations: 148.3 kB / 1.127 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/2.475, allocations: 194.8 kB / 1.127 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.794e-06/2.475, allocations: 0 / 1.127 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06961/2.545, allocations: 26.21 MB / 1.153 GB, free: 134.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/2.545, allocations: 255.8 kB / 1.153 GB, free: 134 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/5.819, allocations: 0.8438 kB / 1.153 GB, free: 134 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)