Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.228/0.228, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 75.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3685, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1956/0.5641, allocations: 163.4 MB / 0.6902 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.5677, allocations: 1.661 MB / 0.6918 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.5683, allocations: 19.88 kB / 0.6918 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007987/0.5692, allocations: 210.5 kB / 0.692 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.5717, allocations: 0.7841 MB / 0.6928 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.5736, allocations: 0.6766 MB / 0.6934 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.5752, allocations: 1.15 MB / 0.6946 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.5758, allocations: 330.9 kB / 0.6949 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.5766, allocations: 469.1 kB / 0.6953 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.5772, allocations: 386.4 kB / 0.6957 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.5773, allocations: 44 kB / 0.6957 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.5785, allocations: 0.5686 MB / 0.6963 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.5787, allocations: 155.5 kB / 0.6964 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.579, allocations: 270.8 kB / 0.6967 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.5807, allocations: 0.9733 MB / 0.6977 GB, free: 6.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5807, allocations: 8 kB / 0.6977 GB, free: 6.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5807, allocations: 0 / 0.6977 GB, free: 6.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.5807, allocations: 0 / 0.6977 GB, free: 6.066 MB / 0.545 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.002132/0.5828, allocations: 0.9131 MB / 0.6986 GB, free: 5.098 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5829, allocations: 8.031 kB / 0.6986 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.583, allocations: 90.45 kB / 0.6986 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.5835, allocations: 75.61 kB / 0.6987 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.5842, allocations: 414.6 kB / 0.6991 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.5843, allocations: 66.58 kB / 0.6992 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.5844, allocations: 47.92 kB / 0.6992 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5855, allocations: 0.5166 MB / 0.6997 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.5855, allocations: 7.938 kB / 0.6997 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.5856, allocations: 16 kB / 0.6997 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.5857, allocations: 20.64 kB / 0.6998 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.5866, allocations: 402.2 kB / 0.7002 GB, free: 3.363 MB / 0.545 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.003432/0.59, allocations: 2.454 MB / 0.7025 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.5909, allocations: 342 kB / 0.7029 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.5913, allocations: 173.2 kB / 0.703 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.5914, allocations: 4.281 kB / 0.703 GB, free: 224 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/0.592, allocations: 264.8 kB / 0.7033 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.177e-06/0.592, allocations: 4 kB / 0.7033 GB, free: 15.93 MB / 0.5606 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.01255/0.6045, allocations: 3.258 MB / 0.7065 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.6047, allocations: 158.2 kB / 0.7066 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.6052, allocations: 385.6 kB / 0.707 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.6053, allocations: 41.7 kB / 0.707 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.6055, allocations: 256.5 kB / 0.7073 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.6057, allocations: 166.6 kB / 0.7074 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.6059, allocations: 122.3 kB / 0.7076 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6061, allocations: 358.8 kB / 0.7079 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.6068, allocations: 221.1 kB / 0.7081 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/0.6076, allocations: 413 kB / 0.7085 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.609, allocations: 0.6317 MB / 0.7091 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.609, allocations: 0 / 0.7091 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00204/0.6111, allocations: 0.8027 MB / 0.7099 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.6111, allocations: 37.69 kB / 0.7099 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6112, allocations: 4 kB / 0.7099 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/0.6116, allocations: 116.8 kB / 0.7101 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.6122, allocations: 135.7 kB / 0.7102 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006664/0.6129, allocations: 0.6773 MB / 0.7109 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.6134, allocations: 47.95 kB / 0.7109 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.6135, allocations: 47.98 kB / 0.7109 GB, free: 7.695 MB / 0.5606 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003164/0.6138, allocations: 201.2 kB / 0.7111 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.6139, allocations: 55.73 kB / 0.7112 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.616, allocations: 0.7327 MB / 0.7119 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.616, allocations: 8 kB / 0.7119 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.616, allocations: 3.938 kB / 0.7119 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.616, allocations: 3.984 kB / 0.7119 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.6187, allocations: 1.273 MB / 0.7132 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6187, allocations: 4 kB / 0.7132 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/0.6192, allocations: 111.8 kB / 0.7133 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005758/0.6198, allocations: 109 kB / 0.7134 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.6199, allocations: 19.98 kB / 0.7134 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.6219, allocations: 1.818 MB / 0.7152 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6219, allocations: 4.031 kB / 0.7152 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.6244, allocations: 0.979 MB / 0.7161 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.6246, allocations: 164.8 kB / 0.7163 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.6247, allocations: 15.98 kB / 0.7163 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.6252, allocations: 39.95 kB / 0.7163 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.6254, allocations: 55.92 kB / 0.7164 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.6254, allocations: 39.92 kB / 0.7164 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003618/0.6258, allocations: 279.1 kB / 0.7167 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6258, allocations: 0 / 0.7167 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008891/0.6267, allocations: 235.7 kB / 0.7169 GB, free: 1.277 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2675/0.8942, allocations: 1.698 MB / 0.7186 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.896, allocations: 0.6098 MB / 0.7192 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.896, allocations: 1 kB / 0.7192 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.8969, allocations: 412.3 kB / 0.7196 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.8981, allocations: 218.9 kB / 0.7198 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.9058, allocations: 5.07 MB / 0.7247 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.9062, allocations: 0.8609 MB / 0.7256 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005915/0.9068, allocations: 163.2 kB / 0.7257 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.9071, allocations: 193.7 kB / 0.7259 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.9071, allocations: 4.938 kB / 0.7259 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.9517, allocations: 18.41 MB / 0.7439 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.05, allocations: 4.062 kB / 0.7439 GB, free: 165.3 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)