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.001346/0.001346, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2314/0.2314, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002497/0.002497, allocations: 87 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1272, allocations: 62.44 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3989/0.5261, allocations: 163.4 MB / 0.6285 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004408/0.5306, allocations: 1.669 MB / 0.6301 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.5312, allocations: 15.94 kB / 0.6302 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.532, allocations: 210.6 kB / 0.6304 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.5345, allocations: 0.7809 MB / 0.6311 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.5365, allocations: 0.6735 MB / 0.6318 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.5382, allocations: 1.154 MB / 0.6329 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.5388, allocations: 329.3 kB / 0.6332 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000833/0.5396, allocations: 470.3 kB / 0.6337 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.5401, allocations: 378.5 kB / 0.634 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.5402, allocations: 44 kB / 0.6341 GB, free: 9.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.5415, allocations: 0.5305 MB / 0.6346 GB, free: 9.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.5417, allocations: 151.5 kB / 0.6347 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.542, allocations: 274.7 kB / 0.635 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.5434, allocations: 0.9544 MB / 0.6359 GB, free: 8.074 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5434, allocations: 0 / 0.6359 GB, free: 8.074 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5435, allocations: 0 / 0.6359 GB, free: 8.074 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5435, allocations: 4 kB / 0.6359 GB, free: 8.07 MB / 478.1 MB 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.001809/0.5453, allocations: 0.9106 MB / 0.6368 GB, free: 7.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5453, allocations: 8.031 kB / 0.6368 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.5455, allocations: 74.53 kB / 0.6369 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.5458, allocations: 71.33 kB / 0.637 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.5465, allocations: 398.4 kB / 0.6373 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.5466, allocations: 58.7 kB / 0.6374 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.5467, allocations: 43.86 kB / 0.6374 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.5477, allocations: 0.5244 MB / 0.638 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5477, allocations: 0 / 0.638 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.5478, allocations: 19.98 kB / 0.638 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.5478, allocations: 20.59 kB / 0.638 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.5488, allocations: 402.2 kB / 0.6384 GB, free: 5.41 MB / 478.1 MB 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.003516/0.5523, allocations: 2.469 MB / 0.6408 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.5532, allocations: 345.1 kB / 0.6411 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.5536, allocations: 165.2 kB / 0.6413 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.5537, allocations: 4.281 kB / 0.6413 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.5543, allocations: 268.8 kB / 0.6415 GB, free: 1.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.5543, allocations: 0 / 0.6415 GB, free: 1.969 MB / 478.1 MB 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.01359/0.5679, allocations: 3.255 MB / 0.6447 GB, free: 14.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.5681, allocations: 162.2 kB / 0.6449 GB, free: 14.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.5686, allocations: 385.6 kB / 0.6452 GB, free: 14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.5687, allocations: 37.7 kB / 0.6453 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.5689, allocations: 263.9 kB / 0.6455 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.5691, allocations: 153.8 kB / 0.6457 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.5693, allocations: 130.2 kB / 0.6458 GB, free: 13.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5695, allocations: 350.8 kB / 0.6461 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.5702, allocations: 217.1 kB / 0.6463 GB, free: 12.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.5711, allocations: 417.9 kB / 0.6467 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.5725, allocations: 0.6355 MB / 0.6474 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5725, allocations: 0 / 0.6474 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002071/0.5746, allocations: 0.7941 MB / 0.6481 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.5747, allocations: 33.7 kB / 0.6482 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5747, allocations: 4.656 kB / 0.6482 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.5752, allocations: 116.8 kB / 0.6483 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.5757, allocations: 135.8 kB / 0.6484 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007238/0.5765, allocations: 0.6773 MB / 0.6491 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.5771, allocations: 52.02 kB / 0.6491 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.5772, allocations: 47.98 kB / 0.6492 GB, free: 9.746 MB / 494.1 MB 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.0003511/0.5775, allocations: 195.7 kB / 0.6494 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5776, allocations: 51.42 kB / 0.6494 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.5799, allocations: 0.7366 MB / 0.6501 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.5799, allocations: 7.938 kB / 0.6501 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5799, allocations: 0 / 0.6501 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5799, allocations: 7.922 kB / 0.6501 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.5827, allocations: 1.28 MB / 0.6514 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5828, allocations: 7.922 kB / 0.6514 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.5833, allocations: 104 kB / 0.6515 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.5839, allocations: 108.7 kB / 0.6516 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.5839, allocations: 19.98 kB / 0.6516 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.5861, allocations: 1.825 MB / 0.6534 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5861, allocations: 3.938 kB / 0.6534 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.5885, allocations: 0.9659 MB / 0.6543 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.5888, allocations: 164.5 kB / 0.6545 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.5889, allocations: 15.91 kB / 0.6545 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.5894, allocations: 47.95 kB / 0.6546 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5896, allocations: 55.92 kB / 0.6546 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.5896, allocations: 39.92 kB / 0.6547 GB, free: 3.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.59, allocations: 271.1 kB / 0.6549 GB, free: 3.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.59, allocations: 0 / 0.6549 GB, free: 3.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008277/0.5908, allocations: 235.9 kB / 0.6551 GB, free: 3.336 MB / 494.1 MB 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.003498/0.5944, allocations: 1.713 MB / 0.6568 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.5961, allocations: 0.6303 MB / 0.6574 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5961, allocations: 0 / 0.6574 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.5971, allocations: 419.3 kB / 0.6578 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5982, allocations: 215.2 kB / 0.658 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/0.6075, allocations: 5.128 MB / 0.663 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.6081, allocations: 0.8514 MB / 0.6639 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007269/0.6088, allocations: 156.6 kB / 0.664 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6092, allocations: 191.4 kB / 0.6642 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.6092, allocations: 0 / 0.6642 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.6616, allocations: 18.2 MB / 0.682 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.7, allocations: 7.797 kB / 0.682 GB, free: 7.738 MB / 0.5137 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)