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.0007861/0.0007861, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000887/0.0008872, allocations: 172.7 kB / 15.95 MB, free: 192 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.293/1.293, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.2748/0.2748, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005345/0.0005347, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09642, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2993/0.3957, allocations: 148.6 MB / 0.5689 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.4005, allocations: 3.897 MB / 0.5727 GB, free: 76 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.4009, allocations: 15.88 kB / 0.5727 GB, free: 60 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.4014, allocations: 166.9 kB / 0.5728 GB, free: 15.89 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.001629/0.403, allocations: 0.7146 MB / 0.5735 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.4042, allocations: 0.5295 MB / 0.5741 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.4053, allocations: 1.337 MB / 0.5754 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.4057, allocations: 274.7 kB / 0.5756 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.4062, allocations: 406.4 kB / 0.576 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.4066, allocations: 362.5 kB / 0.5764 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.4067, allocations: 24 kB / 0.5764 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.4075, allocations: 427.3 kB / 0.5768 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4076, allocations: 139.5 kB / 0.5769 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.4077, allocations: 121.5 kB / 0.577 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006443/0.4084, allocations: 0.6532 MB / 0.5777 GB, free: 10.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4084, allocations: 0 / 0.5777 GB, free: 10.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4084, allocations: 3.984 kB / 0.5777 GB, free: 10.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4084, allocations: 0 / 0.5777 GB, free: 10.94 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.001306/0.4097, allocations: 0.8278 MB / 0.5785 GB, free: 10.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.4098, allocations: 12.02 kB / 0.5785 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.4101, allocations: 71.33 kB / 0.5786 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.4106, allocations: 382.6 kB / 0.5789 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.4106, allocations: 64.41 kB / 0.579 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.4107, allocations: 36 kB / 0.579 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.4116, allocations: 0.5283 MB / 0.5795 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4116, allocations: 8 kB / 0.5796 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.4117, allocations: 16 kB / 0.5796 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.4117, allocations: 17.33 kB / 0.5796 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.4125, allocations: 430.1 kB / 0.58 GB, free: 8.43 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.002728/0.4152, allocations: 2.51 MB / 0.5824 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.416, allocations: 363.4 kB / 0.5828 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.4163, allocations: 169.3 kB / 0.583 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.4164, allocations: 4.281 kB / 0.583 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.4169, allocations: 284.1 kB / 0.5832 GB, free: 4.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.4169, allocations: 4 kB / 0.5832 GB, free: 4.895 MB / 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.01045/0.4273, allocations: 3.615 MB / 0.5868 GB, free: 1.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.4275, allocations: 162.2 kB / 0.5869 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.4279, allocations: 377.6 kB / 0.5873 GB, free: 0.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.428, allocations: 37.7 kB / 0.5873 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.4282, allocations: 259.9 kB / 0.5876 GB, free: 288 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.4283, allocations: 153.8 kB / 0.5877 GB, free: 132 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.4284, allocations: 20 kB / 0.5877 GB, free: 112 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4285, allocations: 354.8 kB / 0.5881 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.4291, allocations: 241.1 kB / 0.5883 GB, free: 15.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.4298, allocations: 429.1 kB / 0.5887 GB, free: 15.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.4304, allocations: 318.3 kB / 0.589 GB, free: 14.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4304, allocations: 4 kB / 0.589 GB, free: 14.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001642/0.432, allocations: 0.8138 MB / 0.5898 GB, free: 13.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.4321, allocations: 37.7 kB / 0.5898 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4321, allocations: 4.656 kB / 0.5898 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.4326, allocations: 120.7 kB / 0.59 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.4331, allocations: 147.8 kB / 0.5901 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005454/0.4336, allocations: 0.6771 MB / 0.5908 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.4341, allocations: 76 kB / 0.5908 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.4342, allocations: 40 kB / 0.5909 GB, free: 12.74 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.000236/0.4344, allocations: 202.7 kB / 0.5911 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.4345, allocations: 51.39 kB / 0.5911 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4364, allocations: 0.7767 MB / 0.5919 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4364, allocations: 7.953 kB / 0.5919 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4364, allocations: 4 kB / 0.5919 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4364, allocations: 3.938 kB / 0.5919 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4387, allocations: 1.328 MB / 0.5932 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4387, allocations: 4 kB / 0.5932 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.4392, allocations: 119.8 kB / 0.5933 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.4397, allocations: 112.8 kB / 0.5934 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.4397, allocations: 15.98 kB / 0.5934 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.4414, allocations: 1.699 MB / 0.5951 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4414, allocations: 0 / 0.5951 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.4434, allocations: 1.04 MB / 0.5961 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.4436, allocations: 168.5 kB / 0.5963 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.4437, allocations: 12 kB / 0.5963 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.4442, allocations: 51.95 kB / 0.5963 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4443, allocations: 75.8 kB / 0.5964 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.4444, allocations: 35.98 kB / 0.5964 GB, free: 6.766 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.4446, allocations: 267.1 kB / 0.5967 GB, free: 6.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4446, allocations: 0 / 0.5967 GB, free: 6.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007347/0.4454, allocations: 232 kB / 0.5969 GB, free: 6.281 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.0007498/0.4461, allocations: 313.1 kB / 0.5972 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.4475, allocations: 0.6524 MB / 0.5978 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4476, allocations: 3.938 kB / 0.5978 GB, free: 5.312 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.4483, allocations: 430.4 kB / 0.5983 GB, free: 4.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.4493, allocations: 197.4 kB / 0.5984 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4512, allocations: 1.392 MB / 0.5998 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4516, allocations: 0.8553 MB / 0.6006 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006394/0.4522, allocations: 152.7 kB / 0.6008 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.4525, allocations: 71.42 kB / 0.6009 GB, free: 2.152 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4525, allocations: 0 / 0.6009 GB, free: 2.152 MB / 462.1 MB Notification: Performance of Templates: time 0.01773/0.4702, allocations: 12.53 MB / 0.6131 GB, free: 5.664 MB / 478.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: