Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00469/0.00469, allocations: 98.41 kB / 15.73 MB, free: 6.059 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.001168/0.001168, allocations: 192.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002576/0.002576, allocations: 0.5678 MB / 291.1 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.89 kB / 402.4 MB, free: 32.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.08943, allocations: 49.58 MB / 452 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4159/0.5054, allocations: 179.4 MB / 0.6166 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.5111, allocations: 3.17 MB / 0.6196 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000716/0.5118, allocations: 23.88 kB / 0.6197 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.5131, allocations: 401.5 kB / 0.6201 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.517, allocations: 1.604 MB / 0.6216 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.5194, allocations: 1.112 MB / 0.6227 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.5219, allocations: 2.404 MB / 0.6251 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/0.5227, allocations: 0.5975 MB / 0.6256 GB, free: 5.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.5243, allocations: 1.012 MB / 0.6266 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008547/0.5251, allocations: 0.7317 MB / 0.6273 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.5253, allocations: 76 kB / 0.6274 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.5274, allocations: 1.022 MB / 0.6284 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.5277, allocations: 315.2 kB / 0.6287 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005278/0.5282, allocations: 0.49 MB / 0.6292 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.5302, allocations: 1.744 MB / 0.6309 GB, free: 292 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5303, allocations: 0 / 0.6309 GB, free: 292 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5303, allocations: 0 / 0.6309 GB, free: 292 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.5303, allocations: 0 / 0.6309 GB, free: 292 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002383/0.5327, allocations: 1.324 MB / 0.6322 GB, free: 14.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5327, allocations: 15.88 kB / 0.6322 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5337, allocations: 171.3 kB / 0.6324 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.5347, allocations: 0.5979 MB / 0.6329 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5349, allocations: 184.8 kB / 0.6331 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.535, allocations: 71.95 kB / 0.6332 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5365, allocations: 1.083 MB / 0.6342 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.5366, allocations: 11.94 kB / 0.6343 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.5367, allocations: 36 kB / 0.6343 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.5367, allocations: 29.31 kB / 0.6343 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.5379, allocations: 0.7893 MB / 0.6351 GB, free: 11.76 MB / 478.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.00563/0.5436, allocations: 5.702 MB / 0.6407 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.5443, allocations: 416.5 kB / 0.6411 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.5446, allocations: 220.4 kB / 0.6413 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.5448, allocations: 263.3 kB / 0.6415 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.5449, allocations: 42.56 kB / 0.6416 GB, free: 4.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.285e-06/0.5449, allocations: 4 kB / 0.6416 GB, free: 4.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=55): time 0.006708/0.5516, allocations: 2.267 MB / 0.6438 GB, free: 2.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.5517, allocations: 115.4 kB / 0.6439 GB, free: 2.207 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.5525, allocations: 0.6721 MB / 0.6445 GB, free: 1.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.5525, allocations: 41.7 kB / 0.6446 GB, free: 1.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.5529, allocations: 475.4 kB / 0.645 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.5531, allocations: 218.2 kB / 0.6452 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.5534, allocations: 230.8 kB / 0.6455 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5535, allocations: 386.8 kB / 0.6458 GB, free: 184 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.554, allocations: 286.5 kB / 0.6461 GB, free: 15.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.5548, allocations: 0.759 MB / 0.6469 GB, free: 14.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.5699, allocations: 3.103 MB / 0.6499 GB, free: 11.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.57, allocations: 4 kB / 0.6499 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002169/0.5722, allocations: 1.284 MB / 0.6511 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.5722, allocations: 12 kB / 0.6511 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.5722, allocations: 16 kB / 0.6512 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.5741, allocations: 465.8 kB / 0.6516 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.5747, allocations: 183.7 kB / 0.6518 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.576, allocations: 1.112 MB / 0.6529 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.5767, allocations: 44.03 kB / 0.6529 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5768, allocations: 95.98 kB / 0.653 GB, free: 8.312 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004699/0.5773, allocations: 295.6 kB / 0.6533 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.5775, allocations: 84.36 kB / 0.6534 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.5797, allocations: 1.205 MB / 0.6545 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5797, allocations: 4 kB / 0.6545 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5797, allocations: 7.938 kB / 0.6546 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5797, allocations: 0 / 0.6546 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.583, allocations: 1.982 MB / 0.6565 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.583, allocations: 3.938 kB / 0.6565 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.5833, allocations: 104 kB / 0.6566 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.5848, allocations: 290.9 kB / 0.6569 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.5848, allocations: 27.98 kB / 0.6569 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009087/0.5857, allocations: 0.8411 MB / 0.6577 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5858, allocations: 4 kB / 0.6577 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.5877, allocations: 1.139 MB / 0.6588 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.5882, allocations: 216.6 kB / 0.659 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.5884, allocations: 19.92 kB / 0.6591 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.5889, allocations: 24.19 kB / 0.6591 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.589, allocations: 52.5 kB / 0.6591 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.21e-05/0.5891, allocations: 63.95 kB / 0.6592 GB, free: 1.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005905/0.5897, allocations: 475 kB / 0.6596 GB, free: 1.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5897, allocations: 0 / 0.6596 GB, free: 1.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001211/0.5909, allocations: 347.6 kB / 0.66 GB, free: 0.9336 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009987/0.5919, allocations: 392.8 kB / 0.6604 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.5935, allocations: 0.7931 MB / 0.6611 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.5935, allocations: 3.859 kB / 0.6611 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007699/0.5943, allocations: 339 kB / 0.6615 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.5962, allocations: 408.9 kB / 0.6618 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.5988, allocations: 1.626 MB / 0.6634 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.5993, allocations: 0.9946 MB / 0.6644 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001131/0.6005, allocations: 0.5575 MB / 0.6649 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.6008, allocations: 123.4 kB / 0.6651 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.6008, allocations: 8 kB / 0.6651 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.034/0.6348, allocations: 21.83 MB / 0.6864 GB, free: 6.066 MB / 0.5137 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)