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.001541/0.001541, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001271/0.001271, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.412/1.412, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3232/0.3232, allocations: 37.98 MB / 307.4 MB, free: 10.04 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.001369/0.00137, allocations: 74.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 56.46 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.263/0.3901, allocations: 36.64 MB / 467.9 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.4057, allocations: 16.88 MB / 484.7 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.4067, allocations: 24.06 kB / 484.8 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.4078, allocations: 384.5 kB / 485.1 MB, free: 24.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.4199, allocations: 3.572 MB / 488.7 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008881/0.4288, allocations: 2.828 MB / 491.5 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.4317, allocations: 1.804 MB / 493.3 MB, free: 20.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006941/0.4324, allocations: 0.5383 MB / 493.9 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.4336, allocations: 0.7523 MB / 494.6 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.4342, allocations: 0.5938 MB / 495.2 MB, free: 19.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4344, allocations: 73.34 kB / 495.3 MB, free: 19.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/0.4501, allocations: 7.348 MB / 0.4909 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.4506, allocations: 249.9 kB / 0.4911 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.4513, allocations: 424.8 kB / 0.4915 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.467, allocations: 5.063 MB / 0.4965 GB, free: 16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.467, allocations: 4.844 kB / 0.4965 GB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.467, allocations: 0 / 0.4965 GB, free: 15.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.467, allocations: 0 / 0.4965 GB, free: 15.99 MB / 382.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.006715/0.4738, allocations: 1.605 MB / 0.498 GB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4738, allocations: 12.39 kB / 0.498 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.4768, allocations: 370.2 kB / 0.4984 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.4776, allocations: 0.5315 MB / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.4778, allocations: 111 kB / 0.499 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.4779, allocations: 56.38 kB / 0.4991 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.4804, allocations: 1.138 MB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.4805, allocations: 1.25 kB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.4806, allocations: 23.16 kB / 0.5002 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.4806, allocations: 39.14 kB / 0.5002 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.4834, allocations: 1.048 MB / 0.5013 GB, free: 13.7 MB / 382.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.0067/0.4901, allocations: 5.01 MB / 0.5062 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.4927, allocations: 0.9197 MB / 0.5071 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.4934, allocations: 380 kB / 0.5074 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0464/0.5398, allocations: 24.21 MB / 0.5311 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.5399, allocations: 50.92 kB / 0.5311 GB, free: 3.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/0.5399, allocations: 0 / 0.5311 GB, free: 3.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.006857/0.5468, allocations: 1.973 MB / 0.533 GB, free: 1.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.5469, allocations: 107.2 kB / 0.5331 GB, free: 1.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.5476, allocations: 0.5887 MB / 0.5337 GB, free: 1.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.5477, allocations: 41.64 kB / 0.5338 GB, free: 1.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.5479, allocations: 319.6 kB / 0.5341 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.548, allocations: 161.7 kB / 0.5342 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.5483, allocations: 126.2 kB / 0.5343 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5484, allocations: 378.8 kB / 0.5347 GB, free: 176 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.5491, allocations: 321.1 kB / 0.535 GB, free: 15.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/0.5499, allocations: 485.6 kB / 0.5355 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.5513, allocations: 0.7473 MB / 0.5362 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5513, allocations: 0 / 0.5362 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002209/0.5535, allocations: 1.048 MB / 0.5372 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5536, allocations: 12.06 kB / 0.5372 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.5536, allocations: 10.36 kB / 0.5372 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.5547, allocations: 425.3 kB / 0.5376 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.5552, allocations: 111.8 kB / 0.5377 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.5569, allocations: 1.635 MB / 0.5393 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.5577, allocations: 103.2 kB / 0.5394 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.5578, allocations: 32.86 kB / 0.5395 GB, free: 11.07 MB / 414.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.0003944/0.5582, allocations: 229.6 kB / 0.5397 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.5584, allocations: 63.25 kB / 0.5398 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004376/0.5628, allocations: 3.261 MB / 0.5429 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.552e-05/0.5629, allocations: 43.92 kB / 0.543 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.5629, allocations: 4 kB / 0.543 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5629, allocations: 3.984 kB / 0.543 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.565, allocations: 1.569 MB / 0.5445 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.565, allocations: 0 / 0.5445 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.5653, allocations: 87.8 kB / 0.5446 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.5667, allocations: 0.8661 MB / 0.5454 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.5668, allocations: 19.92 kB / 0.5455 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.5692, allocations: 2.287 MB / 0.5477 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5692, allocations: 7.969 kB / 0.5477 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.5724, allocations: 2.265 MB / 0.5499 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.5729, allocations: 291.1 kB / 0.5502 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.573, allocations: 35.62 kB / 0.5502 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.5736, allocations: 59.84 kB / 0.5503 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.5738, allocations: 64.47 kB / 0.5504 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.5738, allocations: 23.98 kB / 0.5504 GB, free: 15.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.5745, allocations: 0.5146 MB / 0.5509 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5745, allocations: 0 / 0.5509 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00718/0.5817, allocations: 1.156 MB / 0.552 GB, free: 14.07 MB / 430.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.01026/0.592, allocations: 1.318 MB / 0.5533 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.5953, allocations: 1.204 MB / 0.5545 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.5953, allocations: 3.938 kB / 0.5545 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.5966, allocations: 0.881 MB / 0.5553 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.5985, allocations: 378.8 kB / 0.5557 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.6019, allocations: 2.994 MB / 0.5586 GB, free: 7.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.6025, allocations: 1.146 MB / 0.5597 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006798/0.6032, allocations: 349.2 kB / 0.5601 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6033, allocations: 63.42 kB / 0.5601 GB, free: 5.707 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6033, allocations: 0 / 0.5601 GB, free: 5.707 MB / 430.1 MB Notification: Performance of Templates: time 0.06656/0.6699, allocations: 50.18 MB / 0.6091 GB, free: 3.496 MB / 478.1 MB 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)