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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01063/0.01063, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003258/0.003258, allocations: 0.5577 MB / 292 MB, free: 1.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 11.98 kB / 353.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3525, allocations: 50.58 MB / 404 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5768/0.9293, allocations: 175.3 MB / 0.5657 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007614/0.937, allocations: 3.32 MB / 0.5689 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.9386, allocations: 31.66 kB / 0.569 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.94, allocations: 352.3 kB / 0.5693 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005742/0.9458, allocations: 1.45 MB / 0.5707 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.9495, allocations: 0.9971 MB / 0.5717 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006163/0.9556, allocations: 3.414 MB / 0.575 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.9571, allocations: 0.514 MB / 0.5755 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.9603, allocations: 0.8739 MB / 0.5764 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.963, allocations: 0.7691 MB / 0.5771 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.9633, allocations: 45.17 kB / 0.5772 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.9676, allocations: 0.9093 MB / 0.5781 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.9681, allocations: 287.6 kB / 0.5783 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.9693, allocations: 488.1 kB / 0.5788 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.9738, allocations: 1.692 MB / 0.5804 GB, free: 17.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9738, allocations: 0 / 0.5804 GB, free: 17.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.9738, allocations: 4 kB / 0.5804 GB, free: 17.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.9739, allocations: 0 / 0.5804 GB, free: 17.3 MB / 446.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.002712/0.9766, allocations: 1.099 MB / 0.5815 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.9766, allocations: 8.469 kB / 0.5815 GB, free: 16.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.9768, allocations: 129.3 kB / 0.5817 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.9779, allocations: 173 kB / 0.5818 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.9789, allocations: 0.5588 MB / 0.5824 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.9791, allocations: 180.5 kB / 0.5825 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.9792, allocations: 74.42 kB / 0.5826 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.9808, allocations: 1.091 MB / 0.5837 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.9809, allocations: 5.75 kB / 0.5837 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.981, allocations: 38.83 kB / 0.5837 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.981, allocations: 33.94 kB / 0.5837 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.9822, allocations: 0.7805 MB / 0.5845 GB, free: 15.84 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.006268/0.9885, allocations: 5.716 MB / 0.5901 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.9892, allocations: 396.6 kB / 0.5905 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.9895, allocations: 217.2 kB / 0.5907 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.9898, allocations: 260.2 kB / 0.5909 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.9899, allocations: 45.34 kB / 0.591 GB, free: 11.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.9899, allocations: 0 / 0.591 GB, free: 11.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.007352/0.9973, allocations: 2.25 MB / 0.5932 GB, free: 10.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.9974, allocations: 119.4 kB / 0.5933 GB, free: 10.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.9983, allocations: 0.6826 MB / 0.5939 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.9984, allocations: 36.27 kB / 0.594 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.9988, allocations: 458.5 kB / 0.5944 GB, free: 10.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.999, allocations: 203.7 kB / 0.5946 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.9992, allocations: 94.33 kB / 0.5947 GB, free: 10.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.9994, allocations: 386.3 kB / 0.5951 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.9999, allocations: 281.4 kB / 0.5953 GB, free: 9.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00087/1.001, allocations: 0.7677 MB / 0.5961 GB, free: 9.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/1.017, allocations: 3.433 MB / 0.5994 GB, free: 8.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.017, allocations: 2.938 kB / 0.5994 GB, free: 8.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002578/1.02, allocations: 1.267 MB / 0.6007 GB, free: 8.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.02, allocations: 12.36 kB / 0.6007 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.02, allocations: 17.78 kB / 0.6007 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/1.022, allocations: 493.2 kB / 0.6012 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/1.023, allocations: 182 kB / 0.6014 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/1.024, allocations: 1.117 MB / 0.6024 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.025, allocations: 64.34 kB / 0.6025 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.025, allocations: 99.94 kB / 0.6026 GB, free: 7.773 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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.0006061/1.026, allocations: 290.4 kB / 0.6029 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/1.026, allocations: 79.66 kB / 0.603 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/1.029, allocations: 1.212 MB / 0.6041 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.029, allocations: 9.062 kB / 0.6041 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.029, allocations: 2.844 kB / 0.6042 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.029, allocations: 6.25 kB / 0.6042 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/1.032, allocations: 1.976 MB / 0.6061 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.032, allocations: 3.438 kB / 0.6061 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/1.033, allocations: 93.17 kB / 0.6062 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/1.034, allocations: 299 kB / 0.6065 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/1.034, allocations: 29.45 kB / 0.6065 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.036, allocations: 0.8528 MB / 0.6073 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.036, allocations: 1.875 kB / 0.6073 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.038, allocations: 1.134 MB / 0.6084 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006964/1.039, allocations: 223.8 kB / 0.6086 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/1.039, allocations: 15.72 kB / 0.6087 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007497/1.04, allocations: 39.52 kB / 0.6087 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.04, allocations: 59.91 kB / 0.6088 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.04, allocations: 69.16 kB / 0.6088 GB, free: 5.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009335/1.041, allocations: 471.7 kB / 0.6093 GB, free: 5.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 0.6093 GB, free: 5.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001954/1.043, allocations: 346.7 kB / 0.6096 GB, free: 5.203 MB / 446.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 {(4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003801/1.047, allocations: 1.966 MB / 0.6115 GB, free: 4.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/1.048, allocations: 0.7804 MB / 0.6123 GB, free: 4.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.048, allocations: 1.719 kB / 0.6123 GB, free: 4.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007931/1.049, allocations: 341.2 kB / 0.6126 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/1.052, allocations: 400.2 kB / 0.613 GB, free: 3.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/1.066, allocations: 8.238 MB / 0.621 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/1.067, allocations: 0.9894 MB / 0.622 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001919/1.069, allocations: 0.5656 MB / 0.6226 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007538/1.07, allocations: 336.2 kB / 0.6229 GB, free: 13.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/1.07, allocations: 4 kB / 0.6229 GB, free: 13.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6861/1.756, allocations: 28.28 MB / 0.6505 GB, free: 1.559 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004557/1.756, allocations: 360.7 kB / 0.6508 GB, free: 1.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/4.605, allocations: 11.92 kB / 0.6509 GB, free: 1.168 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)