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.001274/0.001274, allocations: 103.4 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.001607/0.001607, allocations: 192.1 kB / 16.25 MB, free: 6.617 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.002639/0.002639, allocations: 0.5661 MB / 290.6 MB, free: 1.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 60.05 kB / 351.2 MB, free: 2.559 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09221, allocations: 49.6 MB / 400.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5706/0.6629, allocations: 177.6 MB / 0.5648 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005865/0.6688, allocations: 3.303 MB / 0.5681 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.6698, allocations: 32.78 kB / 0.5681 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.671, allocations: 356.6 kB / 0.5684 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.6753, allocations: 1.47 MB / 0.5699 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.6783, allocations: 1.02 MB / 0.5709 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003322/0.6816, allocations: 2.409 MB / 0.5732 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009278/0.6826, allocations: 0.5903 MB / 0.5738 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.6847, allocations: 0.9973 MB / 0.5748 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.6862, allocations: 0.7814 MB / 0.5755 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.6864, allocations: 80.38 kB / 0.5756 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.6892, allocations: 1 MB / 0.5766 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.6895, allocations: 333.5 kB / 0.5769 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006872/0.6902, allocations: 0.4883 MB / 0.5774 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.6928, allocations: 1.742 MB / 0.5791 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6928, allocations: 0 / 0.5791 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6928, allocations: 0.9062 kB / 0.5791 GB, free: 1.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.6928, allocations: 0 / 0.5791 GB, free: 1.258 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002423/0.6953, allocations: 1.295 MB / 0.5803 GB, free: 16.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6953, allocations: 14.52 kB / 0.5804 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.6955, allocations: 124.8 kB / 0.5805 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009773/0.6965, allocations: 176.2 kB / 0.5806 GB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.6972, allocations: 0.5583 MB / 0.5812 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.6974, allocations: 181 kB / 0.5814 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.6975, allocations: 73.33 kB / 0.5814 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.6989, allocations: 1.102 MB / 0.5825 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.699, allocations: 5.812 kB / 0.5825 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.6991, allocations: 34.97 kB / 0.5825 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.6991, allocations: 35.59 kB / 0.5826 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.7001, allocations: 0.7819 MB / 0.5833 GB, free: 15.79 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.005318/0.7055, allocations: 5.701 MB / 0.5889 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.7061, allocations: 397.4 kB / 0.5893 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.7064, allocations: 215.6 kB / 0.5895 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.7067, allocations: 261.8 kB / 0.5897 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.7067, allocations: 44.53 kB / 0.5898 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.7067, allocations: 0 / 0.5898 GB, free: 11.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006506/0.7132, allocations: 2.25 MB / 0.592 GB, free: 10.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.7133, allocations: 113.4 kB / 0.5921 GB, free: 10.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.714, allocations: 0.6779 MB / 0.5928 GB, free: 10.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.7141, allocations: 37.36 kB / 0.5928 GB, free: 10.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7144, allocations: 464.7 kB / 0.5932 GB, free: 10.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.7146, allocations: 199 kB / 0.5934 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.7149, allocations: 231.3 kB / 0.5936 GB, free: 10.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.715, allocations: 392.8 kB / 0.594 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.7154, allocations: 280.9 kB / 0.5943 GB, free: 9.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.7162, allocations: 0.7665 MB / 0.595 GB, free: 9.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/0.7308, allocations: 3.113 MB / 0.5981 GB, free: 8.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.7308, allocations: 5.797 kB / 0.5981 GB, free: 8.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002025/0.7329, allocations: 1.268 MB / 0.5993 GB, free: 8.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.7329, allocations: 11.7 kB / 0.5993 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.7329, allocations: 16.41 kB / 0.5993 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.7348, allocations: 471.1 kB / 0.5998 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.7352, allocations: 187 kB / 0.6 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.7366, allocations: 1.119 MB / 0.6011 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.7374, allocations: 65.05 kB / 0.6011 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.7375, allocations: 98.94 kB / 0.6012 GB, free: 7.918 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 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.0004883/0.738, allocations: 290.6 kB / 0.6015 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.7381, allocations: 78.69 kB / 0.6016 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.7404, allocations: 1.214 MB / 0.6028 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.7404, allocations: 7.125 kB / 0.6028 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7404, allocations: 4 kB / 0.6028 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7404, allocations: 3.922 kB / 0.6028 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.7434, allocations: 1.984 MB / 0.6047 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7434, allocations: 3.172 kB / 0.6047 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.7438, allocations: 95.61 kB / 0.6048 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.7451, allocations: 282.4 kB / 0.6051 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.7452, allocations: 30.38 kB / 0.6051 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009088/0.7461, allocations: 0.8409 MB / 0.6059 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7461, allocations: 4.406 kB / 0.6059 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.7479, allocations: 1.132 MB / 0.607 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.7483, allocations: 214.6 kB / 0.6072 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.7484, allocations: 17.83 kB / 0.6073 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.7489, allocations: 37.36 kB / 0.6073 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.749, allocations: 57.23 kB / 0.6073 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.7491, allocations: 58.47 kB / 0.6074 GB, free: 5.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004832/0.7496, allocations: 474.3 kB / 0.6079 GB, free: 5.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7496, allocations: 0 / 0.6079 GB, free: 5.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001185/0.7508, allocations: 357.7 kB / 0.6082 GB, free: 5.844 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002902/0.7537, allocations: 1.969 MB / 0.6101 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.7554, allocations: 0.8315 MB / 0.6109 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7554, allocations: 2.438 kB / 0.6109 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.7562, allocations: 339.1 kB / 0.6113 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.758, allocations: 416.3 kB / 0.6117 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.7683, allocations: 8.138 MB / 0.6196 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.7689, allocations: 0.9885 MB / 0.6206 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001588/0.7705, allocations: 0.573 MB / 0.6211 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/0.7711, allocations: 338.5 kB / 0.6214 GB, free: 13.64 MB / 462.1 MB Notification: Performance of SimCode: time 9.71e-07/0.7711, allocations: 1.203 kB / 0.6214 GB, free: 13.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.8205, allocations: 29.29 MB / 0.65 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.8208, allocations: 374.2 kB / 0.6504 GB, free: 444 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.4, allocations: 0 / 0.6504 GB, free: 444 kB / 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)