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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.001015/0.001015, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001039/0.001039, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003945/0.003945, allocations: 0.5618 MB / 291.6 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004131, allocations: 8 kB / 352.8 MB, free: 2.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 50.58 MB / 403.4 MB, free: 132 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4226/0.5404, allocations: 163.7 MB / 0.5538 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008672/0.5492, allocations: 3.164 MB / 0.5568 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.5509, allocations: 31.75 kB / 0.5569 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.5526, allocations: 330 kB / 0.5572 GB, free: 320 kB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.3533/0.906, allocations: 1.363 MB / 0.5585 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.9094, allocations: 0.877 MB / 0.5594 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005986/0.9154, allocations: 2.84 MB / 0.5622 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.9171, allocations: 0.4993 MB / 0.5626 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.9206, allocations: 0.8493 MB / 0.5635 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.9231, allocations: 0.7347 MB / 0.5642 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.9233, allocations: 46.31 kB / 0.5642 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.9263, allocations: 0.6813 MB / 0.5649 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.9268, allocations: 283.4 kB / 0.5652 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008898/0.9277, allocations: 196.6 kB / 0.5654 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.93, allocations: 1.175 MB / 0.5665 GB, free: 20.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.93, allocations: 1.094 kB / 0.5665 GB, free: 20.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.93, allocations: 0 / 0.5665 GB, free: 20.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.93, allocations: 2.906 kB / 0.5665 GB, free: 20.87 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.002715/0.9327, allocations: 1.121 MB / 0.5676 GB, free: 20.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.9328, allocations: 8.75 kB / 0.5676 GB, free: 20.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/0.9331, allocations: 125.5 kB / 0.5677 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.9342, allocations: 168 kB / 0.5679 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.9354, allocations: 0.5403 MB / 0.5684 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.9356, allocations: 181.1 kB / 0.5686 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.9358, allocations: 68.59 kB / 0.5687 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.9379, allocations: 1.082 MB / 0.5697 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.9379, allocations: 5.469 kB / 0.5697 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.938, allocations: 33.31 kB / 0.5697 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.091e-05/0.9381, allocations: 42.23 kB / 0.5698 GB, free: 19.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9397, allocations: 0.7767 MB / 0.5705 GB, free: 19.44 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.007303/0.947, allocations: 5.703 MB / 0.5761 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/0.9479, allocations: 395.3 kB / 0.5765 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.9484, allocations: 222 kB / 0.5767 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.9487, allocations: 261 kB / 0.577 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.9488, allocations: 47.09 kB / 0.577 GB, free: 15.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.975e-06/0.9488, allocations: 0 / 0.577 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.007319/0.9561, allocations: 2.248 MB / 0.5792 GB, free: 14.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.9563, allocations: 109.8 kB / 0.5793 GB, free: 14.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.9572, allocations: 0.6723 MB / 0.58 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.9573, allocations: 41.33 kB / 0.58 GB, free: 14.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.9577, allocations: 471.5 kB / 0.5804 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.9579, allocations: 202.5 kB / 0.5806 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.9579, allocations: 21.12 kB / 0.5807 GB, free: 13.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.9582, allocations: 389.8 kB / 0.581 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.9588, allocations: 276.4 kB / 0.5813 GB, free: 13.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/0.9596, allocations: 0.765 MB / 0.582 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/0.9728, allocations: 2.53 MB / 0.5845 GB, free: 12.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.9728, allocations: 6.25 kB / 0.5845 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002655/0.9755, allocations: 1.318 MB / 0.5858 GB, free: 12.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.9756, allocations: 11.78 kB / 0.5858 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.9756, allocations: 21.34 kB / 0.5858 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.9773, allocations: 471.6 kB / 0.5863 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.9779, allocations: 193.2 kB / 0.5865 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.9794, allocations: 1.104 MB / 0.5875 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.9805, allocations: 71.8 kB / 0.5876 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.9806, allocations: 100.2 kB / 0.5877 GB, free: 12.02 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.V1.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006435/0.9813, allocations: 294.8 kB / 0.588 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.9814, allocations: 79.91 kB / 0.5881 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.984, allocations: 1.21 MB / 0.5893 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.984, allocations: 5.125 kB / 0.5893 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.984, allocations: 0 / 0.5893 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.9841, allocations: 3.141 kB / 0.5893 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.9875, allocations: 1.979 MB / 0.5912 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.9876, allocations: 3.094 kB / 0.5912 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.9879, allocations: 90.78 kB / 0.5913 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.9894, allocations: 300.9 kB / 0.5916 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.9894, allocations: 31.22 kB / 0.5916 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.9906, allocations: 0.8513 MB / 0.5924 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.9906, allocations: 6.672 kB / 0.5924 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.9928, allocations: 1.131 MB / 0.5935 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.9934, allocations: 216.8 kB / 0.5937 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.9936, allocations: 19.98 kB / 0.5938 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.9941, allocations: 43.19 kB / 0.5938 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.9942, allocations: 54.23 kB / 0.5939 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.9943, allocations: 64.28 kB / 0.5939 GB, free: 10 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007524/0.9951, allocations: 457.5 kB / 0.5944 GB, free: 9.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.9951, allocations: 0 / 0.5944 GB, free: 9.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001786/0.9969, allocations: 344.4 kB / 0.5947 GB, free: 9.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.00334/1, allocations: 1.951 MB / 0.5966 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/1.002, allocations: 0.77 MB / 0.5973 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.002, allocations: 12.72 kB / 0.5974 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007735/1.003, allocations: 339.6 kB / 0.5977 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.005, allocations: 374.3 kB / 0.598 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/1.013, allocations: 5.152 MB / 0.6031 GB, free: 6.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/1.014, allocations: 0.9857 MB / 0.604 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001762/1.016, allocations: 0.5701 MB / 0.6046 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/1.017, allocations: 332.2 kB / 0.6049 GB, free: 5.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/1.017, allocations: 4 kB / 0.6049 GB, free: 5.816 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/1.072, allocations: 27.77 MB / 0.632 GB, free: 15.01 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/1.073, allocations: 338.7 kB / 0.6323 GB, free: 14.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.706, allocations: 0 / 0.6323 GB, free: 14.65 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/linux/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)