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.001613/0.001613, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009629/0.0009631, allocations: 91.5 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.268e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.394, allocations: 490.2 MB / 0.9902 GB, free: 202.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.394, allocations: 85.2 kB / 0.9903 GB, free: 202.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1865/1.581, allocations: 100.4 MB / 1.088 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.002e-06/1.581, allocations: 0 / 1.088 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.268e-05/1.581, allocations: 16 kB / 1.088 GB, free: 101.7 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.001318/1.582, allocations: 0.8138 MB / 1.089 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.582, allocations: 12.03 kB / 1.089 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/1.582, allocations: 74.53 kB / 1.089 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/1.583, allocations: 79.31 kB / 1.089 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/1.583, allocations: 403.4 kB / 1.09 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/1.583, allocations: 54.48 kB / 1.09 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/1.583, allocations: 39.94 kB / 1.09 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/1.584, allocations: 499.4 kB / 1.09 GB, free: 99.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.584, allocations: 0 / 1.09 GB, free: 99.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/1.584, allocations: 16 kB / 1.09 GB, free: 99.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/1.584, allocations: 20.73 kB / 1.09 GB, free: 99.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/1.584, allocations: 342.8 kB / 1.091 GB, free: 99.25 MB / 0.5417 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.002297/1.587, allocations: 2.458 MB / 1.093 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/1.587, allocations: 279.5 kB / 1.093 GB, free: 96.33 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/1.587, allocations: 129.4 kB / 1.093 GB, free: 96.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/1.587, allocations: 4.281 kB / 1.093 GB, free: 96.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/1.588, allocations: 237.1 kB / 1.094 GB, free: 95.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/1.588, allocations: 7.938 kB / 1.094 GB, free: 95.94 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.007714/1.595, allocations: 2.656 MB / 1.096 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/1.595, allocations: 162.2 kB / 1.096 GB, free: 92.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/1.596, allocations: 334.8 kB / 1.097 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/1.596, allocations: 37.7 kB / 1.097 GB, free: 92.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.596, allocations: 252 kB / 1.097 GB, free: 92.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/1.596, allocations: 161.7 kB / 1.097 GB, free: 92.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/1.596, allocations: 8 kB / 1.097 GB, free: 92.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/1.596, allocations: 362.8 kB / 1.097 GB, free: 91.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/1.596, allocations: 157.5 kB / 1.098 GB, free: 91.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/1.597, allocations: 342.5 kB / 1.098 GB, free: 91.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/1.597, allocations: 235.2 kB / 1.098 GB, free: 91.01 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.597, allocations: 0 / 1.098 GB, free: 91.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008078/1.598, allocations: 0.6382 MB / 1.099 GB, free: 90.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.598, allocations: 35.11 kB / 1.099 GB, free: 90.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.598, allocations: 7.953 kB / 1.099 GB, free: 90.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/1.598, allocations: 121.4 kB / 1.099 GB, free: 90.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/1.599, allocations: 151.8 kB / 1.099 GB, free: 90.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003835/1.599, allocations: 0.6733 MB / 1.1 GB, free: 89.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/1.6, allocations: 64.02 kB / 1.1 GB, free: 89.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.6, allocations: 51.98 kB / 1.1 GB, free: 89.22 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 () * 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.0001152/1.6, allocations: 150.2 kB / 1.1 GB, free: 89.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/1.6, allocations: 51.44 kB / 1.1 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/1.601, allocations: 0.6117 MB / 1.101 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.601, allocations: 4 kB / 1.101 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.601, allocations: 0 / 1.101 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.601, allocations: 0 / 1.101 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/1.602, allocations: 1.148 MB / 1.102 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.602, allocations: 3.953 kB / 1.102 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/1.603, allocations: 124 kB / 1.102 GB, free: 87.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/1.603, allocations: 104.8 kB / 1.102 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/1.603, allocations: 16 kB / 1.102 GB, free: 86.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.605, allocations: 1.677 MB / 1.104 GB, free: 85.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.605, allocations: 0 / 1.104 GB, free: 85.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.606, allocations: 0.8613 MB / 1.104 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/1.606, allocations: 152.5 kB / 1.105 GB, free: 84.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/1.606, allocations: 19.98 kB / 1.105 GB, free: 83.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/1.606, allocations: 63.88 kB / 1.105 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.607, allocations: 63.88 kB / 1.105 GB, free: 83.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/1.607, allocations: 35.98 kB / 1.105 GB, free: 83.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002076/1.607, allocations: 265.2 kB / 1.105 GB, free: 83.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/1.607, allocations: 3.938 kB / 1.105 GB, free: 83.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008782/1.608, allocations: 295.8 kB / 1.105 GB, free: 83.29 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) * 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.002308/1.61, allocations: 2.446 MB / 1.108 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006819/1.611, allocations: 490.5 kB / 1.108 GB, free: 80.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.611, allocations: 4 kB / 1.108 GB, free: 80.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/1.611, allocations: 342.1 kB / 1.109 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/1.612, allocations: 178.5 kB / 1.109 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.613, allocations: 0.9963 MB / 1.11 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/1.614, allocations: 0.8591 MB / 1.111 GB, free: 77.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005625/1.614, allocations: 156.5 kB / 1.111 GB, free: 77.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/1.615, allocations: 195.3 kB / 1.111 GB, free: 77.49 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/1.615, allocations: 3.938 kB / 1.111 GB, free: 77.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/1.653, allocations: 28.09 MB / 1.138 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.653, allocations: 230.6 kB / 1.138 GB, free: 49.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/4.417, allocations: 0 / 1.138 GB, free: 49.34 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)