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.00139/0.00139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 197 kB / 16.53 MB, free: 6.664 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.687/1.687, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.00356/0.00356, allocations: 0.5623 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001642, allocations: 63.91 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1627, allocations: 49.59 MB / 401.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 1.124/1.287, allocations: 179.3 MB / 0.567 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008204/1.295, allocations: 3.178 MB / 0.5701 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/1.296, allocations: 21.53 kB / 0.5701 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/1.298, allocations: 403.3 kB / 0.5705 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006576/1.304, allocations: 1.588 MB / 0.572 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004259/1.308, allocations: 1.109 MB / 0.5731 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004594/1.313, allocations: 2.399 MB / 0.5755 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/1.314, allocations: 0.5915 MB / 0.576 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/1.317, allocations: 0.9807 MB / 0.577 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/1.318, allocations: 0.7361 MB / 0.5777 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002394/1.319, allocations: 81.66 kB / 0.5778 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/1.323, allocations: 0.9758 MB / 0.5787 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004659/1.323, allocations: 317.5 kB / 0.579 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008447/1.324, allocations: 495 kB / 0.5795 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003453/1.327, allocations: 1.725 MB / 0.5812 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.327, allocations: 0 / 0.5812 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.179e-06/1.327, allocations: 3.062 kB / 0.5812 GB, free: 1.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/1.327, allocations: 0 / 0.5812 GB, free: 1.246 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.003199/1.331, allocations: 1.303 MB / 0.5825 GB, free: 16.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/1.331, allocations: 14.64 kB / 0.5825 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/1.331, allocations: 129.4 kB / 0.5826 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/1.332, allocations: 164.5 kB / 0.5828 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/1.333, allocations: 0.5647 MB / 0.5833 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/1.333, allocations: 180.1 kB / 0.5835 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.333, allocations: 76.03 kB / 0.5836 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.335, allocations: 1.095 MB / 0.5846 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.335, allocations: 8.297 kB / 0.5846 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.335, allocations: 37.11 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/1.335, allocations: 37.81 kB / 0.5847 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/1.337, allocations: 0.7838 MB / 0.5855 GB, free: 15.78 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.006557/1.343, allocations: 5.717 MB / 0.5911 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/1.344, allocations: 388.8 kB / 0.5914 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/1.345, allocations: 223.8 kB / 0.5917 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/1.345, allocations: 261.1 kB / 0.5919 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/1.345, allocations: 44.7 kB / 0.5919 GB, free: 11.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/1.345, allocations: 0.9375 kB / 0.5919 GB, free: 11.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.007585/1.353, allocations: 2.256 MB / 0.5941 GB, free: 10.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/1.353, allocations: 111.5 kB / 0.5943 GB, free: 10.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/1.353, allocations: 0.6783 MB / 0.5949 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/1.354, allocations: 39.86 kB / 0.595 GB, free: 10.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/1.354, allocations: 464.4 kB / 0.5954 GB, free: 10.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/1.354, allocations: 201.6 kB / 0.5956 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/1.354, allocations: 234.2 kB / 0.5958 GB, free: 10.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/1.355, allocations: 387.3 kB / 0.5962 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/1.355, allocations: 282.4 kB / 0.5964 GB, free: 9.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/1.356, allocations: 0.7664 MB / 0.5972 GB, free: 9.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/1.372, allocations: 3.106 MB / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.372, allocations: 4.719 kB / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002337/1.374, allocations: 1.27 MB / 0.6015 GB, free: 8.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/1.374, allocations: 13.38 kB / 0.6015 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/1.374, allocations: 17.34 kB / 0.6015 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/1.376, allocations: 469.7 kB / 0.602 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/1.377, allocations: 184.1 kB / 0.6021 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/1.378, allocations: 1.119 MB / 0.6032 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/1.379, allocations: 42.28 kB / 0.6033 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.379, allocations: 95.33 kB / 0.6034 GB, free: 7.895 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.0006165/1.38, allocations: 292.3 kB / 0.6036 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/1.38, allocations: 83.16 kB / 0.6037 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/1.383, allocations: 1.207 MB / 0.6049 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.383, allocations: 5.812 kB / 0.6049 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.383, allocations: 3.938 kB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.383, allocations: 6.188 kB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.387, allocations: 1.987 MB / 0.6068 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.387, allocations: 1 kB / 0.6068 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/1.388, allocations: 90.16 kB / 0.6069 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/1.389, allocations: 280.6 kB / 0.6072 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/1.389, allocations: 36.83 kB / 0.6072 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/1.39, allocations: 0.8345 MB / 0.608 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/1.39, allocations: 4.062 kB / 0.6081 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/1.392, allocations: 1.139 MB / 0.6092 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/1.393, allocations: 218.6 kB / 0.6094 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.393, allocations: 12.31 kB / 0.6094 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/1.393, allocations: 27.56 kB / 0.6094 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.393, allocations: 53.8 kB / 0.6095 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.393, allocations: 64.17 kB / 0.6095 GB, free: 5.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007481/1.394, allocations: 474 kB / 0.61 GB, free: 5.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.394, allocations: 0 / 0.61 GB, free: 5.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001713/1.396, allocations: 343.8 kB / 0.6103 GB, free: 5.828 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.004349/1.4, allocations: 1.95 MB / 0.6122 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/1.403, allocations: 0.8398 MB / 0.613 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.403, allocations: 6.609 kB / 0.613 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008908/1.404, allocations: 348.8 kB / 0.6134 GB, free: 4.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.406, allocations: 405.1 kB / 0.6138 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.418, allocations: 7.88 MB / 0.6214 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/1.418, allocations: 0.9839 MB / 0.6224 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001736/1.42, allocations: 0.5683 MB / 0.623 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/1.421, allocations: 342.4 kB / 0.6233 GB, free: 12.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/1.421, allocations: 0 / 0.6233 GB, free: 12.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0787/1.499, allocations: 29.44 MB / 0.652 GB, free: 15.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.36, allocations: 20.3 kB / 0.6521 GB, free: 15.74 MB / 494.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)