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.0017/0.0017, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001926, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247 MB, free: 10.4 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.2208/0.2208, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.002196/0.002196, allocations: 87.84 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3465, 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.218/0.5646, allocations: 163.4 MB / 0.6902 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004319/0.5689, allocations: 1.665 MB / 0.6918 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.5698, allocations: 15.88 kB / 0.6918 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5709, allocations: 210.6 kB / 0.692 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.5743, allocations: 0.785 MB / 0.6928 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.5767, allocations: 0.6726 MB / 0.6935 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5788, allocations: 1.15 MB / 0.6946 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.5796, allocations: 332.8 kB / 0.6949 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.5808, allocations: 470.2 kB / 0.6953 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008493/0.5817, allocations: 382.5 kB / 0.6957 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.5819, allocations: 44 kB / 0.6957 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.5835, allocations: 0.5734 MB / 0.6963 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.5838, allocations: 147.6 kB / 0.6964 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.5844, allocations: 274.7 kB / 0.6967 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.5866, allocations: 0.9704 MB / 0.6977 GB, free: 6.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5866, allocations: 4 kB / 0.6977 GB, free: 6.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5866, allocations: 3.938 kB / 0.6977 GB, free: 6.008 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.5867, allocations: 0 / 0.6977 GB, free: 6.008 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.002608/0.5893, allocations: 0.9209 MB / 0.6986 GB, free: 5.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.5894, allocations: 8.031 kB / 0.6986 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.5895, allocations: 70.53 kB / 0.6986 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.5901, allocations: 79.61 kB / 0.6987 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.591, allocations: 422.6 kB / 0.6991 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.5911, allocations: 62.64 kB / 0.6992 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.5912, allocations: 39.94 kB / 0.6992 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5923, allocations: 0.5205 MB / 0.6997 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5923, allocations: 0 / 0.6997 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.5924, allocations: 23.98 kB / 0.6997 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.5924, allocations: 16.64 kB / 0.6998 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.5934, allocations: 406.1 kB / 0.7001 GB, free: 3.312 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.003451/0.5968, allocations: 2.454 MB / 0.7025 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.5978, allocations: 343.4 kB / 0.7029 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.5982, allocations: 173.2 kB / 0.703 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.5982, allocations: 4.281 kB / 0.703 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006638/0.5989, allocations: 260.8 kB / 0.7033 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.5989, allocations: 3.938 kB / 0.7033 GB, free: 15.88 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.01249/0.6114, allocations: 3.258 MB / 0.7065 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.6116, allocations: 162.2 kB / 0.7066 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.6121, allocations: 385.6 kB / 0.707 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.6121, allocations: 33.7 kB / 0.707 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.6123, allocations: 264.5 kB / 0.7073 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6125, allocations: 170.6 kB / 0.7074 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6127, allocations: 126.3 kB / 0.7076 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6129, allocations: 354.8 kB / 0.7079 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.6135, allocations: 217.1 kB / 0.7081 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.6143, allocations: 413 kB / 0.7085 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.6157, allocations: 0.6355 MB / 0.7091 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6158, allocations: 4 kB / 0.7091 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001991/0.6178, allocations: 0.7949 MB / 0.7099 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.6178, allocations: 41.81 kB / 0.7099 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.6178, allocations: 4 kB / 0.71 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.6183, allocations: 116.7 kB / 0.7101 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.6189, allocations: 135.8 kB / 0.7102 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/0.6196, allocations: 0.6772 MB / 0.7109 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.6201, allocations: 43.95 kB / 0.7109 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.6202, allocations: 47.98 kB / 0.7109 GB, free: 7.641 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.0003277/0.6205, allocations: 197.6 kB / 0.7111 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.6206, allocations: 55.7 kB / 0.7112 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.6226, allocations: 0.7291 MB / 0.7119 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.6227, allocations: 8 kB / 0.7119 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6227, allocations: 7.875 kB / 0.7119 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6227, allocations: 3.984 kB / 0.7119 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.6253, allocations: 1.269 MB / 0.7132 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6253, allocations: 0 / 0.7132 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.6258, allocations: 115.8 kB / 0.7133 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/0.6264, allocations: 96.92 kB / 0.7134 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.6265, allocations: 23.98 kB / 0.7134 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.6285, allocations: 1.829 MB / 0.7152 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6285, allocations: 0 / 0.7152 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.6311, allocations: 0.9791 MB / 0.7161 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.6314, allocations: 160.8 kB / 0.7163 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/0.6314, allocations: 19.98 kB / 0.7163 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.6319, allocations: 39.95 kB / 0.7163 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.6321, allocations: 59.86 kB / 0.7164 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.6321, allocations: 39.92 kB / 0.7164 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003399/0.6325, allocations: 279.1 kB / 0.7167 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6325, allocations: 0 / 0.7167 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007735/0.6333, allocations: 231.7 kB / 0.7169 GB, free: 1.227 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.2461/0.8794, allocations: 1.713 MB / 0.7186 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.8813, allocations: 0.6046 MB / 0.7192 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.8813, allocations: 1.094 kB / 0.7192 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.8823, allocations: 415.2 kB / 0.7196 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.8835, allocations: 218 kB / 0.7198 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.891, allocations: 5.07 MB / 0.7247 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.8913, allocations: 0.8632 MB / 0.7256 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005471/0.8919, allocations: 161.7 kB / 0.7257 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.8922, allocations: 189.4 kB / 0.7259 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.8922, allocations: 1 kB / 0.7259 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.9352, 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.04, allocations: 13.42 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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)