Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006417/0.006417, allocations: 98.16 kB / 15.73 MB, free: 6.031 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.001454/0.001455, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.449/1.449, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3429/0.3429, allocations: 39.94 MB / 309.8 MB, free: 9.281 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.001744/0.001744, allocations: 67.91 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3015, allocations: 56.87 MB / 492.6 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03455/0.336, allocations: 36.34 MB / 0.5166 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.3576, allocations: 16.77 MB / 0.533 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.3587, allocations: 17.84 kB / 0.533 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.36, allocations: 428.9 kB / 0.5334 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.3735, allocations: 4.014 MB / 0.5373 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009518/0.383, allocations: 3.136 MB / 0.5404 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.3857, allocations: 1.794 MB / 0.5421 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008634/0.3865, allocations: 0.5275 MB / 0.5426 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.3879, allocations: 0.7668 MB / 0.5434 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.3887, allocations: 0.5682 MB / 0.5439 GB, free: 4 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3888, allocations: 72.05 kB / 0.544 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01408/0.4029, allocations: 7.461 MB / 0.5513 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.4032, allocations: 251.3 kB / 0.5515 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000524/0.4038, allocations: 418.2 kB / 0.5519 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.4159, allocations: 5.052 MB / 0.5569 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4159, allocations: 4 kB / 0.5569 GB, free: 2.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.416, allocations: 0 / 0.5569 GB, free: 2.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.416, allocations: 0 / 0.5569 GB, free: 2.742 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.004687/0.4207, allocations: 1.598 MB / 0.5584 GB, free: 1.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.4207, allocations: 19.89 kB / 0.5585 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.4236, allocations: 367.6 kB / 0.5588 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.4245, allocations: 0.5446 MB / 0.5593 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4246, allocations: 113.2 kB / 0.5594 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4247, allocations: 60.2 kB / 0.5595 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4272, allocations: 1.134 MB / 0.5606 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4272, allocations: 3.938 kB / 0.5606 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.4273, allocations: 28 kB / 0.5606 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.4274, allocations: 37.3 kB / 0.5607 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.43, allocations: 1.055 MB / 0.5617 GB, free: 13.64 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.006673/0.4367, allocations: 4.996 MB / 0.5666 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.4394, allocations: 0.9252 MB / 0.5675 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.4401, allocations: 377.9 kB / 0.5678 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04896/0.4891, allocations: 24.31 MB / 0.5916 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.4892, allocations: 43 kB / 0.5916 GB, free: 11.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/0.4892, allocations: 0 / 0.5916 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.006808/0.496, allocations: 1.977 MB / 0.5936 GB, free: 9.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.4961, allocations: 107.2 kB / 0.5937 GB, free: 9.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.4968, allocations: 0.6003 MB / 0.5942 GB, free: 8.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.4969, allocations: 29.7 kB / 0.5943 GB, free: 8.914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4971, allocations: 319.7 kB / 0.5946 GB, free: 8.594 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4972, allocations: 157.7 kB / 0.5947 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.4974, allocations: 126.2 kB / 0.5948 GB, free: 8.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4976, allocations: 378.8 kB / 0.5952 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.4983, allocations: 325.1 kB / 0.5955 GB, free: 7.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.4991, allocations: 489.6 kB / 0.596 GB, free: 7.062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.5005, allocations: 0.7357 MB / 0.5967 GB, free: 6.266 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5005, allocations: 0 / 0.5967 GB, free: 6.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002124/0.5026, allocations: 1.047 MB / 0.5977 GB, free: 5.203 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5027, allocations: 12.41 kB / 0.5977 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5027, allocations: 8 kB / 0.5977 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.5038, allocations: 417.3 kB / 0.5981 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.5042, allocations: 119.8 kB / 0.5983 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.506, allocations: 1.639 MB / 0.5999 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.5066, allocations: 95.09 kB / 0.6 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.5067, allocations: 31.92 kB / 0.6 GB, free: 2.836 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.0003484/0.507, allocations: 225.7 kB / 0.6002 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5072, allocations: 63.25 kB / 0.6003 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/0.5113, allocations: 3.26 MB / 0.6034 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/0.5113, allocations: 47.92 kB / 0.6035 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5113, allocations: 0 / 0.6035 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.5114, allocations: 7.984 kB / 0.6035 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.5129, allocations: 1.557 MB / 0.605 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5129, allocations: 0 / 0.605 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.5133, allocations: 87.86 kB / 0.6051 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.5146, allocations: 0.866 MB / 0.6059 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.5147, allocations: 15.98 kB / 0.606 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.5169, allocations: 2.287 MB / 0.6082 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.517, allocations: 3.938 kB / 0.6082 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.52, allocations: 2.269 MB / 0.6104 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.5204, allocations: 295 kB / 0.6107 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.5205, allocations: 23.78 kB / 0.6107 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.521, allocations: 51.89 kB / 0.6108 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5212, allocations: 60.47 kB / 0.6108 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.5212, allocations: 23.98 kB / 0.6108 GB, free: 7.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005717/0.5218, allocations: 0.5146 MB / 0.6113 GB, free: 7.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.5218, allocations: 0 / 0.6113 GB, free: 7.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003287/0.5251, allocations: 1.171 MB / 0.6125 GB, free: 5.84 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.004163/0.5293, allocations: 1.301 MB / 0.6138 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.5316, allocations: 1.13 MB / 0.6149 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5316, allocations: 0 / 0.6149 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.533, allocations: 0.877 MB / 0.6157 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.5348, allocations: 383.2 kB / 0.6161 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.5383, allocations: 2.438 MB / 0.6185 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.5389, allocations: 1.146 MB / 0.6196 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005993/0.5395, allocations: 361.1 kB / 0.6199 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.5397, allocations: 59.42 kB / 0.62 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.873e-06/0.5397, allocations: 0 / 0.62 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.3191/0.8588, allocations: 50.95 MB / 0.6697 GB, free: 120.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)