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.00921/0.00921, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001426/0.001426, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.2159/0.2159, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.001903/0.001903, allocations: 64.28 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1438, allocations: 56.46 MB / 489.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5299/0.6738, allocations: 163.3 MB / 0.6375 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.6809, allocations: 4.108 MB / 0.6415 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.6818, allocations: 15.94 kB / 0.6415 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.6827, allocations: 214.6 kB / 0.6417 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.6859, allocations: 0.8273 MB / 0.6425 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.6879, allocations: 0.673 MB / 0.6432 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.6896, allocations: 1.146 MB / 0.6443 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000544/0.6901, allocations: 325.2 kB / 0.6446 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.6911, allocations: 478.2 kB / 0.6451 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.6917, allocations: 378.4 kB / 0.6454 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.6918, allocations: 44 kB / 0.6455 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.6933, allocations: 0.5929 MB / 0.6461 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.6935, allocations: 159.5 kB / 0.6462 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.6938, allocations: 266.7 kB / 0.6465 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.6956, allocations: 0.9816 MB / 0.6474 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6956, allocations: 4 kB / 0.6474 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6956, allocations: 0 / 0.6474 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.6956, allocations: 0 / 0.6474 GB, free: 0.6328 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.001973/0.6976, allocations: 0.8983 MB / 0.6483 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6977, allocations: 11.89 kB / 0.6483 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004294/0.6981, allocations: 67.42 kB / 0.6484 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.699, allocations: 430.1 kB / 0.6488 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6991, allocations: 54.7 kB / 0.6489 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.6992, allocations: 39.98 kB / 0.6489 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.7003, allocations: 0.5244 MB / 0.6494 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.7003, allocations: 0 / 0.6494 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.7004, allocations: 20 kB / 0.6494 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.7005, allocations: 20.58 kB / 0.6494 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009629/0.7014, allocations: 402.2 kB / 0.6498 GB, free: 14.04 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.003805/0.7052, allocations: 2.492 MB / 0.6523 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.7062, allocations: 339.3 kB / 0.6526 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.7066, allocations: 153.3 kB / 0.6527 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.7067, allocations: 12.27 kB / 0.6527 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006826/0.7074, allocations: 276.1 kB / 0.653 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.7074, allocations: 0 / 0.653 GB, free: 10.57 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.01311/0.7205, allocations: 3.239 MB / 0.6562 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.7207, allocations: 166.1 kB / 0.6563 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.7212, allocations: 397.4 kB / 0.6567 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.7213, allocations: 33.7 kB / 0.6567 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.7216, allocations: 255.9 kB / 0.657 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.7217, allocations: 161.8 kB / 0.6571 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.722, allocations: 126.2 kB / 0.6573 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7222, allocations: 354.8 kB / 0.6576 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.7228, allocations: 217.1 kB / 0.6578 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.7236, allocations: 405.1 kB / 0.6582 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.725, allocations: 0.6355 MB / 0.6588 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.725, allocations: 4 kB / 0.6588 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001984/0.727, allocations: 0.7869 MB / 0.6596 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.7271, allocations: 40.19 kB / 0.6596 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.7271, allocations: 12.05 kB / 0.6596 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.7276, allocations: 118.1 kB / 0.6597 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.7282, allocations: 139.8 kB / 0.6599 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000698/0.7289, allocations: 0.6733 MB / 0.6605 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.7294, allocations: 51.95 kB / 0.6606 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.7295, allocations: 40 kB / 0.6606 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.0003737/0.7299, allocations: 213 kB / 0.6608 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.73, allocations: 47.44 kB / 0.6609 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.7321, allocations: 0.7421 MB / 0.6616 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.7321, allocations: 4 kB / 0.6616 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.7321, allocations: 0 / 0.6616 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.7321, allocations: 0 / 0.6616 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.735, allocations: 1.281 MB / 0.6628 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7351, allocations: 4.047 kB / 0.6629 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.7356, allocations: 103.8 kB / 0.6629 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.7361, allocations: 108.9 kB / 0.6631 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.7362, allocations: 12 kB / 0.6631 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.7383, allocations: 1.821 MB / 0.6648 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7384, allocations: 4.031 kB / 0.6648 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.7408, allocations: 0.9786 MB / 0.6658 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.7411, allocations: 168.5 kB / 0.666 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.7412, allocations: 12 kB / 0.666 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.7416, allocations: 47.94 kB / 0.666 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.7418, allocations: 55.94 kB / 0.6661 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.7419, allocations: 31.98 kB / 0.6661 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000304/0.7422, allocations: 275.1 kB / 0.6664 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7422, allocations: 4 kB / 0.6664 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008997/0.7431, 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.000919/0.744, allocations: 316.4 kB / 0.6669 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.7457, allocations: 0.6082 MB / 0.6675 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7457, allocations: 0 / 0.6675 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/0.7466, allocations: 418.7 kB / 0.6679 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7478, allocations: 217.7 kB / 0.6681 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.7501, allocations: 1.144 MB / 0.6692 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.7505, allocations: 0.8553 MB / 0.6701 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005198/0.751, allocations: 156.5 kB / 0.6702 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.7513, allocations: 75.42 kB / 0.6703 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.7513, allocations: 0 / 0.6703 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.02555/0.7768, allocations: 13.85 MB / 0.6838 GB, free: 10.27 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)