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.005421/0.005421, allocations: 97.23 kB / 15.73 MB, free: 6 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.001325/0.001325, allocations: 189.2 kB / 16.67 MB, free: 5.93 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.003102/0.003103, allocations: 0.5736 MB / 291.1 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.158/0.158, allocations: 69.31 kB / 401.9 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.2489, allocations: 49.59 MB / 451.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4371/0.6861, allocations: 179.3 MB / 0.6161 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005519/0.6917, allocations: 3.185 MB / 0.6192 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.6928, allocations: 20 kB / 0.6192 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.6941, allocations: 395.2 kB / 0.6196 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.6988, allocations: 1.583 MB / 0.6211 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.7027, allocations: 1.115 MB / 0.6222 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00439/0.7071, allocations: 2.389 MB / 0.6245 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.7087, allocations: 0.5974 MB / 0.6251 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.7112, allocations: 0.9918 MB / 0.6261 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.7127, allocations: 0.7358 MB / 0.6268 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.713, allocations: 79.91 kB / 0.6269 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.7156, allocations: 1.024 MB / 0.6279 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.7161, allocations: 318.7 kB / 0.6282 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007332/0.7168, allocations: 493.3 kB / 0.6287 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.72, allocations: 1.745 MB / 0.6304 GB, free: 3.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.72, allocations: 0 / 0.6304 GB, free: 3.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7201, allocations: 2.5 kB / 0.6304 GB, free: 3.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.7201, allocations: 0 / 0.6304 GB, free: 3.723 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.002797/0.7229, allocations: 1.321 MB / 0.6317 GB, free: 2.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7229, allocations: 14.05 kB / 0.6317 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.7231, allocations: 126.9 kB / 0.6318 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7242, allocations: 179.5 kB / 0.632 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7253, allocations: 0.5911 MB / 0.6326 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.7255, allocations: 176 kB / 0.6327 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.7257, allocations: 78.44 kB / 0.6328 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.7275, allocations: 1.08 MB / 0.6338 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7275, allocations: 6.719 kB / 0.6339 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/0.7276, allocations: 32.28 kB / 0.6339 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.7277, allocations: 43.08 kB / 0.6339 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.729, allocations: 0.786 MB / 0.6347 GB, free: 328 kB / 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.006804/0.7359, allocations: 5.704 MB / 0.6403 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.7366, allocations: 399.2 kB / 0.6406 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.737, allocations: 228.1 kB / 0.6409 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.7373, allocations: 258 kB / 0.6411 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.7374, allocations: 46.55 kB / 0.6412 GB, free: 9.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.905e-06/0.7374, allocations: 0 / 0.6412 GB, free: 9.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=55): time 0.007289/0.7447, allocations: 2.27 MB / 0.6434 GB, free: 6.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.7448, allocations: 111.3 kB / 0.6435 GB, free: 6.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.7456, allocations: 0.6799 MB / 0.6441 GB, free: 6.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.7457, allocations: 41.64 kB / 0.6442 GB, free: 6.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.7461, allocations: 478.5 kB / 0.6446 GB, free: 5.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.7463, allocations: 220.2 kB / 0.6448 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.7466, allocations: 222.8 kB / 0.6451 GB, free: 5.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.7468, allocations: 386.8 kB / 0.6454 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.7473, allocations: 278.5 kB / 0.6457 GB, free: 4.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.7484, allocations: 0.7669 MB / 0.6464 GB, free: 3.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/0.7644, allocations: 3.102 MB / 0.6495 GB, free: 176 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.7645, allocations: 12 kB / 0.6495 GB, free: 164 kB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002615/0.7671, allocations: 1.277 MB / 0.6507 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.7672, allocations: 12 kB / 0.6507 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.7672, allocations: 16 kB / 0.6508 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.7693, allocations: 464.5 kB / 0.6512 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.7699, allocations: 187.7 kB / 0.6514 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.7715, allocations: 1.119 MB / 0.6525 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.7723, allocations: 40 kB / 0.6525 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.7725, allocations: 96.03 kB / 0.6526 GB, free: 12.93 MB / 478.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.0006412/0.7731, allocations: 301.9 kB / 0.6529 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.7734, allocations: 83.48 kB / 0.653 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.7759, allocations: 1.203 MB / 0.6541 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.776, allocations: 8 kB / 0.6542 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.776, allocations: 3.938 kB / 0.6542 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.776, allocations: 7.922 kB / 0.6542 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.7796, allocations: 1.977 MB / 0.6561 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.7796, allocations: 4 kB / 0.6561 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.7799, allocations: 91.84 kB / 0.6562 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.7814, allocations: 288.6 kB / 0.6565 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.7815, allocations: 27.98 kB / 0.6565 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.7826, allocations: 0.8411 MB / 0.6573 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7826, allocations: 4 kB / 0.6573 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.7848, allocations: 1.143 MB / 0.6584 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.7852, allocations: 216.5 kB / 0.6586 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.7853, allocations: 16 kB / 0.6586 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.7858, allocations: 19.98 kB / 0.6587 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7859, allocations: 60.5 kB / 0.6587 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.786, allocations: 59.98 kB / 0.6588 GB, free: 6.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.7867, allocations: 471 kB / 0.6592 GB, free: 5.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7868, allocations: 0 / 0.6592 GB, free: 5.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00129/0.7881, allocations: 351.6 kB / 0.6596 GB, free: 5.566 MB / 478.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.003426/0.7915, allocations: 1.963 MB / 0.6615 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.7932, allocations: 0.7915 MB / 0.6623 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7932, allocations: 3.859 kB / 0.6623 GB, free: 2.793 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.794, allocations: 335 kB / 0.6626 GB, free: 2.469 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.7961, allocations: 419.3 kB / 0.663 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.8077, allocations: 7.611 MB / 0.6704 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.8085, allocations: 0.9908 MB / 0.6714 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001365/0.8099, allocations: 0.5674 MB / 0.6719 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.8105, allocations: 343.3 kB / 0.6723 GB, free: 7.922 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8105, allocations: 0 / 0.6723 GB, free: 7.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/0.882, allocations: 29.75 MB / 0.7013 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.23, allocations: 17.45 kB / 0.7013 GB, free: 10.49 MB / 0.5137 GB (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)