Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005979/0.005979, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001286/0.001286, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.516/1.516, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.2959/0.2959, allocations: 38 MB / 307.9 MB, free: 10.17 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.001761/0.001761, allocations: 71.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3061, allocations: 56.46 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03741/0.3436, allocations: 36.34 MB / 0.5135 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.3656, allocations: 16.77 MB / 0.5298 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006561/0.3662, allocations: 14.56 kB / 0.5299 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3674, allocations: 419.4 kB / 0.5303 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01663/0.384, allocations: 4.028 MB / 0.5342 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.3985, allocations: 3.125 MB / 0.5372 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.4032, allocations: 1.8 MB / 0.539 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.4047, allocations: 0.5392 MB / 0.5395 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.4076, allocations: 0.7551 MB / 0.5403 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.4092, allocations: 0.5682 MB / 0.5408 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.4095, allocations: 72 kB / 0.5409 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02891/0.4384, allocations: 7.469 MB / 0.5482 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.4392, allocations: 239.4 kB / 0.5484 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.4404, allocations: 430.1 kB / 0.5488 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.4589, allocations: 5.043 MB / 0.5537 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4589, allocations: 0 / 0.5537 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4589, allocations: 4 kB / 0.5538 GB, free: 5.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.459, allocations: 3.984 kB / 0.5538 GB, free: 5.781 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007051/0.466, allocations: 1.656 MB / 0.5554 GB, free: 4.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4661, allocations: 11.89 kB / 0.5554 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006158/0.4723, allocations: 360.1 kB / 0.5557 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.474, allocations: 0.5488 MB / 0.5563 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.4743, allocations: 125.2 kB / 0.5564 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.4745, allocations: 56.12 kB / 0.5564 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005191/0.4797, allocations: 1.126 MB / 0.5575 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.4797, allocations: 3.938 kB / 0.5575 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.4799, allocations: 32 kB / 0.5576 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.012e-05/0.48, allocations: 29.3 kB / 0.5576 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.4854, allocations: 1.059 MB / 0.5586 GB, free: 0.625 MB / 430.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.01202/0.4974, allocations: 5.009 MB / 0.5635 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.5027, allocations: 0.9176 MB / 0.5644 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.5042, allocations: 381.9 kB / 0.5648 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07417/0.5784, allocations: 24.32 MB / 0.5885 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.5785, allocations: 39 kB / 0.5886 GB, free: 14.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.5785, allocations: 0 / 0.5886 GB, free: 14.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.007034/0.5855, allocations: 1.97 MB / 0.5905 GB, free: 12.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.5856, allocations: 115.2 kB / 0.5906 GB, free: 12.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.5864, allocations: 0.6004 MB / 0.5912 GB, free: 11.92 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.5865, allocations: 33.7 kB / 0.5912 GB, free: 11.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.5867, allocations: 328.3 kB / 0.5915 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5869, allocations: 166.6 kB / 0.5917 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.5871, allocations: 130.3 kB / 0.5918 GB, free: 11.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5873, allocations: 370.8 kB / 0.5922 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/0.588, allocations: 321.1 kB / 0.5925 GB, free: 10.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.5888, allocations: 485.6 kB / 0.5929 GB, free: 10.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.5903, allocations: 0.7396 MB / 0.5937 GB, free: 9.227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5903, allocations: 4 kB / 0.5937 GB, free: 9.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002312/0.5926, allocations: 1.055 MB / 0.5947 GB, free: 8.152 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5927, allocations: 7.938 kB / 0.5947 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5927, allocations: 12 kB / 0.5947 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.5939, allocations: 421.6 kB / 0.5951 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.5943, allocations: 119.8 kB / 0.5952 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.5962, allocations: 1.624 MB / 0.5968 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.5968, allocations: 95.36 kB / 0.5969 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.5969, allocations: 32 kB / 0.5969 GB, free: 5.797 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003675/0.5973, allocations: 229.7 kB / 0.5972 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.5974, allocations: 67.58 kB / 0.5972 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.6018, allocations: 3.249 MB / 0.6004 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/0.6018, allocations: 43.88 kB / 0.6004 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6019, allocations: 0 / 0.6004 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.6019, allocations: 3.984 kB / 0.6004 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6036, allocations: 1.577 MB / 0.602 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6036, allocations: 0 / 0.602 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.604, allocations: 83.88 kB / 0.6021 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.6054, allocations: 0.8738 MB / 0.6029 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.6055, allocations: 11.98 kB / 0.6029 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.608, allocations: 2.292 MB / 0.6052 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.608, allocations: 3.938 kB / 0.6052 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.6114, allocations: 2.278 MB / 0.6074 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.6118, allocations: 303.7 kB / 0.6077 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.612, allocations: 35.78 kB / 0.6077 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.6125, allocations: 39.95 kB / 0.6078 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.6127, allocations: 60.47 kB / 0.6078 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.6127, allocations: 23.98 kB / 0.6078 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006384/0.6134, allocations: 0.5146 MB / 0.6083 GB, free: 9.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6134, allocations: 4 kB / 0.6083 GB, free: 9.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003353/0.6167, allocations: 1.17 MB / 0.6095 GB, free: 8.773 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005345/0.6221, allocations: 1.329 MB / 0.6108 GB, free: 7.438 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.6246, allocations: 1.126 MB / 0.6119 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6246, allocations: 0 / 0.6119 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.6261, allocations: 0.8813 MB / 0.6127 GB, free: 5.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.628, allocations: 374.1 kB / 0.6131 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.6318, allocations: 2.486 MB / 0.6155 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.6327, allocations: 1.154 MB / 0.6167 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006939/0.6334, allocations: 349.2 kB / 0.617 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.6335, allocations: 55.44 kB / 0.617 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6335, allocations: 0 / 0.617 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of Templates: time 0.2713/0.9048, allocations: 50.55 MB / 0.6664 GB, free: 123.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)