Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003987/0.003994, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.076/4.076, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003527/0.003528, allocations: 234.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5144/0.5144, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007253/0.0007257, allocations: 16.95 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1058, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6705/0.7764, allocations: 148.5 MB / 0.8251 GB, free: 7.828 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.7888, allocations: 3.818 MB / 0.8288 GB, free: 4.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.7898, allocations: 19.81 kB / 0.8288 GB, free: 3.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.7911, allocations: 163 kB / 0.829 GB, free: 3.828 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004678/0.7958, allocations: 0.7211 MB / 0.8297 GB, free: 3.109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.7996, allocations: 0.5398 MB / 0.8302 GB, free: 2.574 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.8031, allocations: 1.337 MB / 0.8315 GB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.8042, allocations: 260.6 kB / 0.8318 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.8057, allocations: 390.4 kB / 0.8321 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.8069, allocations: 366.5 kB / 0.8325 GB, free: 236 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.8071, allocations: 28 kB / 0.8325 GB, free: 208 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.8096, allocations: 423.3 kB / 0.8329 GB, free: 15.79 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.81, allocations: 135.6 kB / 0.8331 GB, free: 15.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.8104, allocations: 117.5 kB / 0.8332 GB, free: 15.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.8126, allocations: 0.6586 MB / 0.8338 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.8127, allocations: 0 / 0.8338 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.068e-06/0.8127, allocations: 4 kB / 0.8338 GB, free: 14.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.8127, allocations: 0 / 0.8338 GB, free: 14.87 MB / 426.7 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.003525/0.8163, allocations: 0.8166 MB / 0.8346 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.8164, allocations: 8.828 kB / 0.8346 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.8173, allocations: 71.42 kB / 0.8347 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.8187, allocations: 386.6 kB / 0.8351 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.8189, allocations: 58.69 kB / 0.8351 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.8191, allocations: 43.84 kB / 0.8352 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.8215, allocations: 0.5322 MB / 0.8357 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.8216, allocations: 3.984 kB / 0.8357 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.8217, allocations: 19.98 kB / 0.8357 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-05/0.8218, allocations: 16.66 kB / 0.8357 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.8243, allocations: 426.1 kB / 0.8361 GB, free: 12.37 MB / 426.7 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.006711/0.831, allocations: 2.506 MB / 0.8386 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.833, allocations: 359.3 kB / 0.8389 GB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.8339, allocations: 183.8 kB / 0.8391 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.834, allocations: 8.219 kB / 0.8391 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.8352, allocations: 267.4 kB / 0.8394 GB, free: 8.855 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 5.581e-06/0.8353, allocations: 0 / 0.8394 GB, free: 8.855 MB / 426.7 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.03048/0.8658, allocations: 3.593 MB / 0.8429 GB, free: 5.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.866, allocations: 132.5 kB / 0.843 GB, free: 4.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/0.8669, allocations: 373.6 kB / 0.8433 GB, free: 4.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.8671, allocations: 37.7 kB / 0.8434 GB, free: 4.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.8676, allocations: 259.8 kB / 0.8436 GB, free: 4.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.8679, allocations: 161.7 kB / 0.8438 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.868, allocations: 16 kB / 0.8438 GB, free: 4.133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.8683, allocations: 354.8 kB / 0.8441 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.87, allocations: 241.1 kB / 0.8444 GB, free: 3.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.8719, allocations: 444.7 kB / 0.8448 GB, free: 3.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.8738, allocations: 322.3 kB / 0.8451 GB, free: 2.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8739, allocations: 0 / 0.8451 GB, free: 2.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004823/0.8787, allocations: 0.83 MB / 0.8459 GB, free: 1.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.8788, allocations: 41.72 kB / 0.8459 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.8789, allocations: 4 kB / 0.8459 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.8799, allocations: 120.7 kB / 0.8461 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.8814, allocations: 151.8 kB / 0.8462 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.8828, allocations: 0.6734 MB / 0.8469 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.8842, allocations: 68 kB / 0.8469 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.8844, allocations: 47.95 kB / 0.847 GB, free: 0.7305 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006046/0.8851, allocations: 200.4 kB / 0.8472 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.8853, allocations: 47.44 kB / 0.8472 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/0.8905, allocations: 0.7836 MB / 0.848 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.8906, allocations: 7.984 kB / 0.848 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8906, allocations: 0 / 0.848 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.8912, allocations: 164.5 kB / 0.8481 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.8915, allocations: 12 kB / 0.8482 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.8926, allocations: 55.94 kB / 0.8482 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.893, allocations: 60.34 kB / 0.8483 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005412/0.8984, allocations: 0.7735 MB / 0.849 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005356/0.9038, allocations: 1.021 MB / 0.85 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001647/0.9055, allocations: 259.5 kB / 0.8503 GB, free: 13.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006693/0.9063, allocations: 263.2 kB / 0.8505 GB, free: 13.04 MB / 442.7 MB Notification: Performance of Backend: time 7.61e-07/0.9063, allocations: 3.938 kB / 0.8505 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005082/0.9114, allocations: 0.7592 MB / 0.8513 GB, free: 12.27 MB / 442.7 MB Notification: Performance of SimCode: time 0.005474/0.917, allocations: 1.851 MB / 0.8531 GB, free: 10.36 MB / 442.7 MB Notification: Performance of Templates: time 0.04162/0.9586, allocations: 12.7 MB / 0.8655 GB, free: 13.73 MB / 458.7 MB