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.0008448/0.0008449, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009801/0.0009802, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4038/0.4038, allocations: 39.99 MB / 310.4 MB, free: 9.949 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.000638/0.0006382, allocations: 12 kB / 378.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1558, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4671/0.6229, allocations: 148.6 MB / 0.5716 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.6303, allocations: 3.9 MB / 0.5755 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008894/0.6313, allocations: 15.88 kB / 0.5755 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.6319, allocations: 162.9 kB / 0.5756 GB, free: 11.43 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002437/0.6344, allocations: 0.7146 MB / 0.5763 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.6364, allocations: 0.526 MB / 0.5768 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.6385, allocations: 1.333 MB / 0.5781 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.6391, allocations: 267.9 kB / 0.5784 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.6402, allocations: 414.4 kB / 0.5788 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.6408, allocations: 366.5 kB / 0.5791 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.6409, allocations: 24 kB / 0.5792 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.6424, allocations: 427.3 kB / 0.5796 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.6426, allocations: 131.5 kB / 0.5797 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.6428, allocations: 117.5 kB / 0.5798 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009328/0.6438, allocations: 0.661 MB / 0.5805 GB, free: 6.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6438, allocations: 4 kB / 0.5805 GB, free: 6.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6438, allocations: 0 / 0.5805 GB, free: 6.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.6438, allocations: 0 / 0.5805 GB, free: 6.477 MB / 446.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.001687/0.6455, allocations: 0.8219 MB / 0.5813 GB, free: 5.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.6455, allocations: 16.02 kB / 0.5813 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.6459, allocations: 63.42 kB / 0.5813 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.6465, allocations: 382.6 kB / 0.5817 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.6466, allocations: 68.41 kB / 0.5818 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.6467, allocations: 39.91 kB / 0.5818 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/0.6477, allocations: 0.529 MB / 0.5823 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6477, allocations: 0 / 0.5823 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.6478, allocations: 17.02 kB / 0.5823 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.6478, allocations: 24.53 kB / 0.5824 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.6487, allocations: 438.1 kB / 0.5828 GB, free: 3.957 MB / 446.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.003245/0.6519, allocations: 2.512 MB / 0.5852 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.6527, allocations: 367.4 kB / 0.5856 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.6531, allocations: 170.6 kB / 0.5857 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.6531, allocations: 4.281 kB / 0.5857 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005534/0.6537, allocations: 284.1 kB / 0.586 GB, free: 432 kB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.6537, allocations: 0 / 0.586 GB, free: 432 kB / 446.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.01099/0.6647, allocations: 3.596 MB / 0.5895 GB, free: 12.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6649, allocations: 170.2 kB / 0.5897 GB, free: 12.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.6655, allocations: 377.6 kB / 0.59 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.6655, allocations: 33.7 kB / 0.5901 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.6658, allocations: 256 kB / 0.5903 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.6659, allocations: 165.6 kB / 0.5905 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.666, allocations: 8 kB / 0.5905 GB, free: 11.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.6662, allocations: 358.8 kB / 0.5908 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.6668, allocations: 249.1 kB / 0.5911 GB, free: 11.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/0.6676, allocations: 425.1 kB / 0.5915 GB, free: 10.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.6683, allocations: 318.3 kB / 0.5918 GB, free: 10.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6683, allocations: 3.984 kB / 0.5918 GB, free: 10.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00186/0.6702, allocations: 0.814 MB / 0.5926 GB, free: 9.406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.6703, allocations: 41.64 kB / 0.5926 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6703, allocations: 8 kB / 0.5926 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.6708, allocations: 116.8 kB / 0.5927 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.6713, allocations: 148.2 kB / 0.5929 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006615/0.672, allocations: 0.6702 MB / 0.5935 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.6725, allocations: 68 kB / 0.5936 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.6726, allocations: 44.08 kB / 0.5936 GB, free: 8.285 MB / 462.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 ($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 (65): * Single equations (assignments): 63 * 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.0003129/0.6729, allocations: 205.6 kB / 0.5938 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.673, allocations: 47.44 kB / 0.5939 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.675, allocations: 0.7894 MB / 0.5947 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.675, allocations: 4 kB / 0.5947 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.675, allocations: 0 / 0.5947 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.6751, allocations: 0 / 0.5947 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.6778, allocations: 1.335 MB / 0.596 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6778, allocations: 3.938 kB / 0.596 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.6783, allocations: 124 kB / 0.5961 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005274/0.6788, allocations: 108.7 kB / 0.5962 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.6789, allocations: 16 kB / 0.5962 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.6807, allocations: 1.695 MB / 0.5979 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6807, allocations: 4.031 kB / 0.5979 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.6831, allocations: 1.028 MB / 0.5989 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.6834, allocations: 164.5 kB / 0.599 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.6835, allocations: 19.94 kB / 0.599 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.6839, allocations: 63.86 kB / 0.5991 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.6841, allocations: 63.84 kB / 0.5992 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.6842, allocations: 35.98 kB / 0.5992 GB, free: 2.312 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.6845, allocations: 271.1 kB / 0.5995 GB, free: 2.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6845, allocations: 0 / 0.5995 GB, free: 2.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009232/0.6855, allocations: 236 kB / 0.5997 GB, free: 1.82 MB / 462.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 (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 Backend phase and start with SimCode phase: time 0.0008608/0.6863, allocations: 311.3 kB / 0.6 GB, free: 1.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.6879, allocations: 0.6491 MB / 0.6006 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6879, allocations: 4 kB / 0.6006 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.6888, allocations: 442.5 kB / 0.601 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/0.6898, allocations: 193.8 kB / 0.6012 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.6919, allocations: 1.387 MB / 0.6026 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.6924, allocations: 0.8592 MB / 0.6034 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000693/0.6931, allocations: 152.5 kB / 0.6036 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.6934, allocations: 75.42 kB / 0.6036 GB, free: 13.69 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6934, allocations: 0 / 0.6036 GB, free: 13.69 MB / 478.1 MB Notification: Performance of Templates: time 0.02132/0.7147, allocations: 12.53 MB / 0.6159 GB, free: 1.199 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: