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.0007604/0.0007606, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004897/0.004897, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.415/1.415, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3077/0.3077, allocations: 38.03 MB / 308.8 MB, free: 10.36 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.0005716/0.0005716, allocations: 24.45 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1152, allocations: 57.51 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3818/0.4971, allocations: 159.3 MB / 0.58 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006936/0.504, allocations: 4.211 MB / 0.5841 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.5049, allocations: 11.88 kB / 0.5841 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.5058, allocations: 179 kB / 0.5843 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.5087, allocations: 0.7352 MB / 0.585 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.5105, allocations: 0.5945 MB / 0.5856 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5124, allocations: 1.591 MB / 0.5871 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.5128, allocations: 283.8 kB / 0.5874 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/0.5136, allocations: 414.3 kB / 0.5878 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.5141, allocations: 386.4 kB / 0.5881 GB, free: 352 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.5142, allocations: 24 kB / 0.5882 GB, free: 328 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5154, allocations: 0.5186 MB / 0.5887 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.5155, allocations: 131.6 kB / 0.5888 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.5158, allocations: 284.3 kB / 0.5891 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.5168, allocations: 0.9409 MB / 0.59 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5168, allocations: 4 kB / 0.59 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5168, allocations: 0 / 0.59 GB, free: 14.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5168, allocations: 0 / 0.59 GB, free: 14.44 MB / 462.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.00148/0.5183, allocations: 0.8084 MB / 0.5908 GB, free: 13.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5184, allocations: 12.03 kB / 0.5908 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.5187, allocations: 75.31 kB / 0.5909 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.5192, allocations: 386.4 kB / 0.5912 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.5193, allocations: 66.62 kB / 0.5913 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.5194, allocations: 36 kB / 0.5913 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.5202, allocations: 0.5439 MB / 0.5919 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5203, allocations: 4 kB / 0.5919 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.5203, allocations: 15.94 kB / 0.5919 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.5204, allocations: 20.66 kB / 0.5919 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008693/0.5212, allocations: 426.1 kB / 0.5923 GB, free: 11.93 MB / 462.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.002866/0.5241, allocations: 2.519 MB / 0.5948 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.5249, allocations: 367.4 kB / 0.5951 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.5253, allocations: 177.2 kB / 0.5953 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.5253, allocations: 4.281 kB / 0.5953 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.5258, allocations: 280.1 kB / 0.5956 GB, free: 8.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.5258, allocations: 0 / 0.5956 GB, free: 8.387 MB / 462.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.01204/0.5379, allocations: 3.601 MB / 0.5991 GB, free: 4.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.538, allocations: 158.2 kB / 0.5992 GB, free: 4.469 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.5386, allocations: 389.5 kB / 0.5996 GB, free: 4.074 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.5387, allocations: 37.7 kB / 0.5996 GB, free: 4.031 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.5389, allocations: 259.9 kB / 0.5999 GB, free: 3.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.5391, allocations: 157.8 kB / 0.6 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.5393, allocations: 61.62 kB / 0.6001 GB, free: 3.551 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.5395, allocations: 358.8 kB / 0.6004 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.5401, allocations: 241.1 kB / 0.6007 GB, free: 2.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.5409, allocations: 429.1 kB / 0.6011 GB, free: 2.457 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.5423, allocations: 0.6902 MB / 0.6018 GB, free: 1.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5423, allocations: 4 kB / 0.6018 GB, free: 1.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001964/0.5443, allocations: 0.8415 MB / 0.6026 GB, free: 0.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.5444, allocations: 33.7 kB / 0.6026 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5444, allocations: 4 kB / 0.6026 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.5449, allocations: 117.3 kB / 0.6027 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.5454, allocations: 147.9 kB / 0.6029 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006788/0.5461, allocations: 0.6818 MB / 0.6035 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.5467, allocations: 68.02 kB / 0.6036 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.5468, allocations: 52.84 kB / 0.6036 GB, free: 15.7 MB / 478.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 (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.0002813/0.5471, allocations: 193.6 kB / 0.6038 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.5472, allocations: 51.42 kB / 0.6039 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.5493, allocations: 0.7875 MB / 0.6047 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5493, allocations: 4 kB / 0.6047 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5493, allocations: 4 kB / 0.6047 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5493, allocations: 3.984 kB / 0.6047 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.5519, allocations: 1.324 MB / 0.606 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.552, allocations: 0 / 0.606 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.5524, allocations: 124 kB / 0.6061 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/0.553, allocations: 108.7 kB / 0.6062 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.5531, allocations: 19.98 kB / 0.6062 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.5548, allocations: 1.699 MB / 0.6079 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.5549, allocations: 4.031 kB / 0.6079 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.5573, allocations: 1.048 MB / 0.6089 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.5576, allocations: 168.5 kB / 0.609 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.5578, allocations: 11.94 kB / 0.6091 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.5583, allocations: 71.88 kB / 0.6091 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.5585, allocations: 63.8 kB / 0.6092 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.5585, allocations: 31.98 kB / 0.6092 GB, free: 9.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.5589, allocations: 275.1 kB / 0.6095 GB, free: 9.445 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5589, allocations: 0 / 0.6095 GB, free: 9.445 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008977/0.5598, allocations: 244 kB / 0.6097 GB, free: 9.207 MB / 478.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 (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.0009384/0.5608, allocations: 304.6 kB / 0.61 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.5624, allocations: 0.6538 MB / 0.6106 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5624, allocations: 0 / 0.6106 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.5634, allocations: 438.4 kB / 0.6111 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.5646, allocations: 209.7 kB / 0.6113 GB, free: 7.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.5669, allocations: 1.444 MB / 0.6127 GB, free: 6.121 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.5674, allocations: 0.8592 MB / 0.6135 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006767/0.5681, allocations: 152.5 kB / 0.6137 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.5683, allocations: 79.41 kB / 0.6137 GB, free: 5.008 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5684, allocations: 0 / 0.6137 GB, free: 5.008 MB / 478.1 MB Notification: Performance of Templates: time 0.02237/0.5907, allocations: 12.88 MB / 0.6263 GB, free: 8.172 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: