Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007023/0.007023, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.196/0.196, allocations: 39.97 MB / 309.9 MB, free: 4.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.91 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1315, allocations: 56.88 MB / 492.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5327/0.6642, allocations: 163.4 MB / 0.6406 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007736/0.672, allocations: 4.099 MB / 0.6446 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.6729, allocations: 15.88 kB / 0.6447 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.6739, allocations: 210.6 kB / 0.6449 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.677, allocations: 0.8351 MB / 0.6457 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.6792, allocations: 0.6732 MB / 0.6463 GB, free: 348 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.681, allocations: 1.146 MB / 0.6474 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000632/0.6817, allocations: 317.2 kB / 0.6477 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.6827, allocations: 466.3 kB / 0.6482 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.6834, allocations: 382.4 kB / 0.6486 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.6835, allocations: 44 kB / 0.6486 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.685, allocations: 0.5983 MB / 0.6492 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.6853, allocations: 159.5 kB / 0.6493 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.6857, allocations: 270.7 kB / 0.6496 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.6874, allocations: 0.9738 MB / 0.6505 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6874, allocations: 0 / 0.6505 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6874, allocations: 3.938 kB / 0.6506 GB, free: 12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.6874, allocations: 0 / 0.6506 GB, free: 12 MB / 0.4981 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.001768/0.6892, allocations: 0.9019 MB / 0.6514 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6893, allocations: 11.89 kB / 0.6514 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.6897, allocations: 81.41 kB / 0.6515 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.6903, allocations: 406.3 kB / 0.6519 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/0.6904, allocations: 62.69 kB / 0.652 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.6905, allocations: 36 kB / 0.652 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/0.6915, allocations: 0.5282 MB / 0.6525 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6915, allocations: 7.906 kB / 0.6525 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.6916, allocations: 16 kB / 0.6525 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.6916, allocations: 16.64 kB / 0.6526 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.6926, allocations: 406.2 kB / 0.6529 GB, free: 9.414 MB / 0.4981 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.003224/0.6958, allocations: 2.483 MB / 0.6554 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.6967, allocations: 349.8 kB / 0.6557 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.6971, allocations: 165.2 kB / 0.6559 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.6971, allocations: 4.281 kB / 0.6559 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.6977, allocations: 272.1 kB / 0.6561 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.195e-06/0.6977, allocations: 0 / 0.6561 GB, free: 5.945 MB / 0.4981 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.01248/0.7102, allocations: 3.239 MB / 0.6593 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.7103, allocations: 158.2 kB / 0.6594 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.7108, allocations: 393.4 kB / 0.6598 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.7108, allocations: 37.7 kB / 0.6598 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.711, allocations: 252 kB / 0.6601 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.7112, allocations: 161.7 kB / 0.6602 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.7114, allocations: 126.3 kB / 0.6604 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7115, allocations: 354.8 kB / 0.6607 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.7121, allocations: 221.1 kB / 0.6609 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.7129, allocations: 417.1 kB / 0.6613 GB, free: 364 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.7142, allocations: 0.6317 MB / 0.6619 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7143, allocations: 0 / 0.6619 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001916/0.7162, allocations: 0.7941 MB / 0.6627 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.7162, allocations: 37.69 kB / 0.6627 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7163, allocations: 4 kB / 0.6627 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.7167, allocations: 117.4 kB / 0.6629 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.7173, allocations: 135.8 kB / 0.663 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006484/0.718, allocations: 0.6748 MB / 0.6636 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.7185, allocations: 52.02 kB / 0.6637 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.7186, allocations: 44.98 kB / 0.6637 GB, free: 13.75 MB / 0.5137 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.0002953/0.7189, allocations: 205.5 kB / 0.6639 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.719, allocations: 47.44 kB / 0.664 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.721, allocations: 0.7455 MB / 0.6647 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.721, allocations: 4 kB / 0.6647 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.721, allocations: 0 / 0.6647 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.721, allocations: 3.984 kB / 0.6647 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.7236, allocations: 1.277 MB / 0.666 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7237, allocations: 0 / 0.666 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.7241, allocations: 103.9 kB / 0.6661 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/0.7247, allocations: 104.8 kB / 0.6662 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.7248, allocations: 23.98 kB / 0.6662 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.7267, allocations: 1.813 MB / 0.668 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7267, allocations: 11.91 kB / 0.668 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.729, allocations: 0.9797 MB / 0.6689 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.7293, allocations: 164.4 kB / 0.6691 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.7294, allocations: 12 kB / 0.6691 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.7299, allocations: 47.94 kB / 0.6691 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.7301, allocations: 63.86 kB / 0.6692 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.7302, allocations: 28 kB / 0.6692 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003294/0.7305, allocations: 279.1 kB / 0.6695 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7305, allocations: 0 / 0.6695 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008888/0.7314, allocations: 239.9 kB / 0.6697 GB, free: 7.328 MB / 0.5137 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.000853/0.7323, allocations: 314.3 kB / 0.67 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.7339, allocations: 0.6072 MB / 0.6706 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7339, allocations: 4 kB / 0.6706 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.7349, allocations: 414.2 kB / 0.671 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.736, allocations: 223.9 kB / 0.6712 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.7382, allocations: 1.139 MB / 0.6723 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.7387, allocations: 0.8592 MB / 0.6732 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005418/0.7393, allocations: 152.6 kB / 0.6733 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.7395, allocations: 79.41 kB / 0.6734 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.7395, allocations: 0 / 0.6734 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of Templates: time 0.02244/0.762, allocations: 13.66 MB / 0.6867 GB, free: 5.816 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)