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.002417/0.002418, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 97.2 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2693/0.2693, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.899e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.949/2.128, allocations: 489.6 MB / 0.9825 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/2.128, allocations: 82.83 kB / 0.9826 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2233/2.351, allocations: 99.02 MB / 1.079 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.935e-06/2.351, allocations: 0 / 1.079 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.003e-05/2.352, allocations: 12 kB / 1.079 GB, free: 88.96 MB / 0.5261 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.002815/2.354, allocations: 0.8216 MB / 1.08 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/2.354, allocations: 8.031 kB / 1.08 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007855/2.355, allocations: 79.38 kB / 1.08 GB, free: 88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/2.356, allocations: 407.3 kB / 1.081 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/2.357, allocations: 42.48 kB / 1.081 GB, free: 87.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/2.357, allocations: 28 kB / 1.081 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006604/2.357, allocations: 293.5 kB / 1.081 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/2.358, allocations: 441.8 kB / 1.081 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/2.358, allocations: 7.938 kB / 1.081 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/2.358, allocations: 4 kB / 1.081 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/2.358, allocations: 16.73 kB / 1.081 GB, free: 86.7 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003446/2.362, allocations: 2.399 MB / 1.084 GB, free: 84.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/2.362, allocations: 255.7 kB / 1.084 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/2.362, allocations: 112.8 kB / 1.084 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/2.362, allocations: 8 kB / 1.084 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/2.363, allocations: 198.7 kB / 1.084 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/2.363, allocations: 0 / 1.084 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.00653/2.369, allocations: 1.914 MB / 1.086 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/2.369, allocations: 162.2 kB / 1.086 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/2.37, allocations: 313.1 kB / 1.087 GB, free: 80.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/2.37, allocations: 25.7 kB / 1.087 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/2.37, allocations: 263.8 kB / 1.087 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/2.37, allocations: 149.8 kB / 1.087 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/2.37, allocations: 0 / 1.087 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001316/2.37, allocations: 358.7 kB / 1.087 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/2.371, allocations: 145.5 kB / 1.088 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/2.371, allocations: 321 kB / 1.088 GB, free: 79.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/2.371, allocations: 212.6 kB / 1.088 GB, free: 79.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.372, allocations: 4 kB / 1.088 GB, free: 79.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001017/2.373, allocations: 0.5552 MB / 1.089 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/2.373, allocations: 37.69 kB / 1.089 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/2.373, allocations: 4 kB / 1.089 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/2.373, allocations: 108.7 kB / 1.089 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/2.374, allocations: 147.9 kB / 1.089 GB, free: 78.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005327/2.374, allocations: 0.6812 MB / 1.09 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/2.375, allocations: 67.89 kB / 1.09 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/2.375, allocations: 43.98 kB / 1.09 GB, free: 77.77 MB / 0.5261 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 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete 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.000184/2.375, allocations: 120.8 kB / 1.09 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000726/2.376, allocations: 426 kB / 1.09 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/2.376, allocations: 47.44 kB / 1.09 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/2.377, allocations: 0.5246 MB / 1.091 GB, free: 76.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/2.377, allocations: 7.938 kB / 1.091 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/2.377, allocations: 0 / 1.091 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/2.377, allocations: 0 / 1.091 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/2.379, allocations: 1.046 MB / 1.092 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.379, allocations: 0 / 1.092 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/2.379, allocations: 120 kB / 1.092 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/2.38, allocations: 96.83 kB / 1.092 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/2.38, allocations: 11.98 kB / 1.092 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/2.382, allocations: 1.624 MB / 1.094 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/2.382, allocations: 4.062 kB / 1.094 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/2.383, allocations: 0.785 MB / 1.094 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/2.383, allocations: 156.5 kB / 1.094 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/2.383, allocations: 4 kB / 1.094 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/2.384, allocations: 55.94 kB / 1.095 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/2.384, allocations: 59.91 kB / 1.095 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/2.384, allocations: 39.94 kB / 1.095 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002713/2.384, allocations: 235 kB / 1.095 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.384, allocations: 4 kB / 1.095 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001374/2.386, allocations: 271.8 kB / 1.095 GB, free: 71.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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.003662/2.389, allocations: 2.394 MB / 1.097 GB, free: 69.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001006/2.39, allocations: 462.5 kB / 1.098 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/2.39, allocations: 4.062 kB / 1.098 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/2.391, allocations: 317.5 kB / 1.098 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/2.392, allocations: 159.8 kB / 1.098 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/2.395, allocations: 0.9449 MB / 1.099 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/2.395, allocations: 0.8669 MB / 1.1 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008029/2.396, allocations: 152.5 kB / 1.1 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/2.397, allocations: 191.3 kB / 1.1 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/2.397, allocations: 0 / 1.1 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/2.456, allocations: 19.7 MB / 1.12 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/2.457, allocations: 180.2 kB / 1.12 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/5.549, allocations: 0 / 1.12 GB, free: 46.45 MB / 0.5261 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)