Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007124/0.007124, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001499/0.001499, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.464/1.464, 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.1+maint.om/package.mo): time 0.1732/0.1732, allocations: 38.01 MB / 307.9 MB, free: 5.977 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.1. 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.001506/0.001506, allocations: 71.91 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 56.46 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4609/0.58, allocations: 163.3 MB / 0.6375 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.5863, allocations: 4.11 MB / 0.6415 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.587, allocations: 11.94 kB / 0.6415 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000971/0.5881, allocations: 210.6 kB / 0.6417 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.5916, allocations: 0.8429 MB / 0.6426 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.5938, allocations: 0.6806 MB / 0.6432 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.5958, allocations: 1.146 MB / 0.6443 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.5966, allocations: 323.4 kB / 0.6446 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.5977, allocations: 482.3 kB / 0.6451 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.5985, allocations: 378.4 kB / 0.6455 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.5987, allocations: 44 kB / 0.6455 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.6002, allocations: 0.6007 MB / 0.6461 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.6005, allocations: 151.5 kB / 0.6462 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.601, allocations: 270.7 kB / 0.6465 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.6035, allocations: 0.9778 MB / 0.6475 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6035, allocations: 0 / 0.6475 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6035, allocations: 0 / 0.6475 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.6035, allocations: 4 kB / 0.6475 GB, free: 0.6445 MB / 494.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.002523/0.6061, allocations: 0.8983 MB / 0.6483 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6061, allocations: 11.89 kB / 0.6483 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.6066, allocations: 71.42 kB / 0.6484 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.6073, allocations: 426.2 kB / 0.6488 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.6074, allocations: 58.64 kB / 0.6489 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.6075, allocations: 36 kB / 0.6489 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6086, allocations: 0.5283 MB / 0.6494 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.6086, allocations: 3.938 kB / 0.6494 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.6087, allocations: 20 kB / 0.6494 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.6087, allocations: 12.66 kB / 0.6495 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.6098, allocations: 406.2 kB / 0.6498 GB, free: 14.05 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.003339/0.6131, allocations: 2.489 MB / 0.6523 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00084/0.614, allocations: 343.3 kB / 0.6526 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.6143, allocations: 157.3 kB / 0.6528 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.6144, allocations: 8.281 kB / 0.6528 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/0.615, allocations: 272.1 kB / 0.653 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.615, allocations: 0 / 0.653 GB, free: 10.59 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.0117/0.6267, allocations: 3.249 MB / 0.6562 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6268, allocations: 162.2 kB / 0.6564 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.6274, allocations: 389.5 kB / 0.6567 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/0.6275, allocations: 33.7 kB / 0.6568 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.6277, allocations: 259.9 kB / 0.657 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6278, allocations: 161.7 kB / 0.6572 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.6281, allocations: 130.2 kB / 0.6573 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6282, allocations: 358.7 kB / 0.6576 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.6289, allocations: 217.1 kB / 0.6578 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.6297, allocations: 410 kB / 0.6582 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.631, allocations: 0.6317 MB / 0.6588 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.631, allocations: 0 / 0.6588 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001886/0.6329, allocations: 0.7902 MB / 0.6596 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.633, allocations: 40.3 kB / 0.6596 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.633, allocations: 4.656 kB / 0.6597 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.6335, allocations: 120.8 kB / 0.6598 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.6341, allocations: 135.8 kB / 0.6599 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006337/0.6347, allocations: 0.6694 MB / 0.6606 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.6353, allocations: 60.02 kB / 0.6606 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/0.6354, allocations: 43.98 kB / 0.6607 GB, free: 2.375 MB / 0.4981 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.0002885/0.6357, allocations: 209.1 kB / 0.6608 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6358, allocations: 51.38 kB / 0.6609 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.6377, allocations: 0.7328 MB / 0.6616 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6377, allocations: 4 kB / 0.6616 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6377, allocations: 0 / 0.6616 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6377, allocations: 3.984 kB / 0.6616 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.6402, allocations: 1.277 MB / 0.6629 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6403, allocations: 0 / 0.6629 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.6407, allocations: 107.8 kB / 0.663 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/0.6413, allocations: 108.9 kB / 0.6631 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.6414, allocations: 15.98 kB / 0.6631 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.6432, allocations: 1.817 MB / 0.6649 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6432, allocations: 4.031 kB / 0.6649 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.6454, allocations: 0.9786 MB / 0.6658 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6456, allocations: 164.5 kB / 0.666 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.6457, allocations: 11.98 kB / 0.666 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.6462, allocations: 47.95 kB / 0.666 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6464, allocations: 60 kB / 0.6661 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.6464, allocations: 35.92 kB / 0.6661 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002956/0.6467, allocations: 275.1 kB / 0.6664 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6467, allocations: 0 / 0.6664 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007955/0.6475, allocations: 239.9 kB / 0.6666 GB, free: 11.96 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.0007857/0.6483, allocations: 308.6 kB / 0.6669 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.6499, allocations: 0.6121 MB / 0.6675 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6499, allocations: 0 / 0.6675 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/0.6508, allocations: 410.4 kB / 0.6679 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.6518, allocations: 225.8 kB / 0.6681 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.6538, allocations: 1.144 MB / 0.6692 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.6543, allocations: 0.8592 MB / 0.6701 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005168/0.6548, allocations: 156.6 kB / 0.6702 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.655, allocations: 75.42 kB / 0.6703 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.655, allocations: 0 / 0.6703 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.02743/0.6824, allocations: 13.66 MB / 0.6836 GB, free: 10.46 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)