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.006859/0.006859, allocations: 106.1 kB / 15.74 MB, free: 6.035 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.001467/0.001467, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.3684/0.3684, allocations: 38 MB / 307.9 MB, free: 10.29 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.001645/0.001645, allocations: 75.89 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3364, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03929/0.3757, allocations: 36.34 MB / 0.5135 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.3989, allocations: 16.77 MB / 0.5298 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.4001, allocations: 18.47 kB / 0.5299 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.4017, allocations: 423.2 kB / 0.5303 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01491/0.4166, allocations: 4.013 MB / 0.5342 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.428, allocations: 3.131 MB / 0.5372 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.4312, allocations: 1.795 MB / 0.539 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008682/0.4321, allocations: 0.5431 MB / 0.5395 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4335, allocations: 0.759 MB / 0.5403 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.4343, allocations: 0.5799 MB / 0.5408 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.4344, allocations: 72 kB / 0.5409 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.4492, allocations: 7.449 MB / 0.5482 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.4498, allocations: 251.3 kB / 0.5484 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006496/0.4504, allocations: 426.1 kB / 0.5488 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.4639, allocations: 5.04 MB / 0.5537 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4639, allocations: 0 / 0.5537 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4639, allocations: 4 kB / 0.5538 GB, free: 5.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.464, allocations: 0 / 0.5538 GB, free: 5.785 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.004497/0.4685, allocations: 1.606 MB / 0.5553 GB, free: 4.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4685, allocations: 11.89 kB / 0.5553 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.4714, allocations: 363.7 kB / 0.5557 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.4724, allocations: 0.5407 MB / 0.5562 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.4725, allocations: 121.2 kB / 0.5563 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.4726, allocations: 60.12 kB / 0.5564 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.4752, allocations: 1.13 MB / 0.5575 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.4752, allocations: 4 kB / 0.5575 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/0.4753, allocations: 28 kB / 0.5575 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.4754, allocations: 33.25 kB / 0.5575 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.478, allocations: 1.047 MB / 0.5586 GB, free: 0.6953 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.006741/0.4847, allocations: 5.012 MB / 0.5635 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.4874, allocations: 0.9178 MB / 0.5644 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.4881, allocations: 389.9 kB / 0.5647 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04922/0.5373, allocations: 24.3 MB / 0.5885 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.5374, allocations: 38.94 kB / 0.5885 GB, free: 14.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.5374, allocations: 0 / 0.5885 GB, free: 14.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.006799/0.5442, allocations: 1.973 MB / 0.5904 GB, free: 12.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.5443, allocations: 111.2 kB / 0.5905 GB, free: 12.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.5451, allocations: 0.5964 MB / 0.5911 GB, free: 12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.5452, allocations: 41.64 kB / 0.5912 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.5455, allocations: 315.6 kB / 0.5915 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.5456, allocations: 161.8 kB / 0.5916 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.5459, allocations: 134.2 kB / 0.5917 GB, free: 11.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.546, allocations: 370.8 kB / 0.5921 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.5467, allocations: 321.1 kB / 0.5924 GB, free: 10.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.5476, allocations: 489.6 kB / 0.5929 GB, free: 10.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.549, allocations: 0.7357 MB / 0.5936 GB, free: 9.309 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.549, allocations: 4 kB / 0.5936 GB, free: 9.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002162/0.5512, allocations: 1.055 MB / 0.5946 GB, free: 8.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5512, allocations: 7.938 kB / 0.5946 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5512, allocations: 4 kB / 0.5946 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.5524, allocations: 425.5 kB / 0.595 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.5529, allocations: 119.8 kB / 0.5951 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.5547, allocations: 1.639 MB / 0.5967 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.5552, allocations: 87.19 kB / 0.5968 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.5553, allocations: 35.98 kB / 0.5969 GB, free: 5.875 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.0003209/0.5556, allocations: 225.7 kB / 0.5971 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.5558, allocations: 63.25 kB / 0.5971 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.56, allocations: 3.252 MB / 0.6003 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/0.56, allocations: 47.91 kB / 0.6004 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.56, allocations: 0 / 0.6004 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5601, allocations: 3.984 kB / 0.6004 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.5616, allocations: 1.557 MB / 0.6019 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5617, allocations: 4 kB / 0.6019 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.562, allocations: 83.88 kB / 0.602 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.5634, allocations: 0.8737 MB / 0.6028 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.5634, allocations: 15.98 kB / 0.6028 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.5658, allocations: 2.284 MB / 0.6051 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5658, allocations: 3.938 kB / 0.6051 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.5691, allocations: 2.273 MB / 0.6073 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.5695, allocations: 299 kB / 0.6076 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5696, allocations: 31.69 kB / 0.6076 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.5701, allocations: 39.95 kB / 0.6076 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5703, allocations: 64.47 kB / 0.6077 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.5704, allocations: 23.98 kB / 0.6077 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006288/0.571, allocations: 0.5146 MB / 0.6082 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.571, allocations: 0 / 0.6082 GB, free: 10.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003588/0.5746, allocations: 1.163 MB / 0.6094 GB, free: 8.891 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.004526/0.5791, allocations: 1.299 MB / 0.6106 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.5817, allocations: 1.13 MB / 0.6117 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5817, allocations: 4 kB / 0.6117 GB, free: 6.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.5831, allocations: 0.8772 MB / 0.6126 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.5851, allocations: 375.2 kB / 0.613 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.5889, allocations: 2.442 MB / 0.6153 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.5896, allocations: 1.161 MB / 0.6165 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006705/0.5902, allocations: 365 kB / 0.6168 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.5904, allocations: 59.42 kB / 0.6169 GB, free: 1.125 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5904, allocations: 4 kB / 0.6169 GB, free: 1.121 MB / 494.1 MB Notification: Performance of Templates: time 0.3324/0.9228, allocations: 50.93 MB / 0.6666 GB, free: 122.9 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)