Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.005644/0.005644, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001206/0.001206, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.004279/0.004279, allocations: 0.5701 MB / 291.1 MB, free: 1.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1654/0.1654, allocations: 56.73 kB / 401.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.2724, allocations: 49.6 MB / 451.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.00176/0.2742, allocations: 0.5768 MB / 452.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00021/0.2744, allocations: 46.91 kB / 452.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.2745, allocations: 4 kB / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.2745, allocations: 3.938 kB / 452.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.2746, allocations: 7.922 kB / 452.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.2747, allocations: 11.97 kB / 452.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.2748, allocations: 55.83 kB / 452.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.2749, allocations: 4 kB / 452.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.2749, allocations: 19.92 kB / 452.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.275, allocations: 31.83 kB / 452.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.275, allocations: 8 kB / 452.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.2751, allocations: 4 kB / 452.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.2751, allocations: 11.98 kB / 452.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2751, allocations: 27.8 kB / 452.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.2752, allocations: 35.88 kB / 452.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2752, allocations: 0 / 452.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2752, allocations: 0 / 452.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2753, allocations: 0 / 452.4 MB, free: 5.074 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005738/0.2758, allocations: 373.6 kB / 452.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2759, allocations: 11.89 kB / 452.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.2759, allocations: 42.69 kB / 452.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.276, allocations: 8.844 kB / 452.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2761, allocations: 168.3 kB / 453 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2761, allocations: 4.375 kB / 453 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.2762, allocations: 20.25 kB / 453 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.2763, allocations: 70.23 kB / 453.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2763, allocations: 7.875 kB / 453.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2764, allocations: 8 kB / 453.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2764, allocations: 0 / 453.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.2765, allocations: 43.86 kB / 453.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.277, allocations: 300.9 kB / 453.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.2772, allocations: 122.6 kB / 453.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.2773, allocations: 44.84 kB / 453.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2773, allocations: 0 / 453.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2774, allocations: 34.56 kB / 453.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.21e-07/0.2774, allocations: 0 / 453.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.002598/0.28, allocations: 0.794 MB / 454.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.28, allocations: 51.41 kB / 454.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.2801, allocations: 117.8 kB / 454.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2802, allocations: 29.7 kB / 454.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.2802, allocations: 92.39 kB / 454.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.2803, allocations: 55.16 kB / 454.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.2803, allocations: 37.7 kB / 454.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2805, allocations: 326.8 kB / 455.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.2805, allocations: 43.98 kB / 455.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.2806, allocations: 63.94 kB / 455.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.2832, allocations: 0.5657 MB / 455.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2832, allocations: 0 / 455.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001571/0.2848, allocations: 375.9 kB / 456.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2848, allocations: 11.98 kB / 456.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2849, allocations: 0 / 456.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.2866, allocations: 288 kB / 456.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.2867, allocations: 15.98 kB / 456.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/0.2905, allocations: 2.361 MB / 458.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.2906, allocations: 4 kB / 458.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2907, allocations: 4 kB / 458.8 MB, free: 14.19 MB / 334.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.p2 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.2909, allocations: 137.6 kB / 458.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.2909, allocations: 7.906 kB / 459 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.291, allocations: 24.88 kB / 459 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.291, allocations: 96 / 459 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.291, allocations: 4 kB / 459 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.291, allocations: 3.984 kB / 459 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2923, allocations: 0.5622 MB / 459.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2923, allocations: 3.938 kB / 459.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.2924, allocations: 12 kB / 459.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.2943, allocations: 292.5 kB / 459.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2943, allocations: 8 kB / 459.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.2969, allocations: 1.971 MB / 461.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2969, allocations: 0 / 461.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2979, allocations: 440.6 kB / 462.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.2979, allocations: 85.02 kB / 462.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.298, allocations: 4 kB / 462.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2981, allocations: 4 kB / 462.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.2981, allocations: 11.98 kB / 462.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2981, allocations: 11.92 kB / 462.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.743e-05/0.2982, allocations: 91.28 kB / 462.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2982, allocations: 0 / 462.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.2986, allocations: 36 kB / 462.5 MB, free: 10.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * 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 (9): * Single equations (assignments): 8 * 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): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001338/0.2999, allocations: 0.9634 MB / 463.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.3006, allocations: 316.6 kB / 463.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3006, allocations: 192 / 463.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.3012, allocations: 261.5 kB / 464 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3014, allocations: 15.88 kB / 464 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.3058, allocations: 2.15 MB / 466.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3061, allocations: 0.7045 MB / 466.9 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.3062, allocations: 4.891 kB / 466.9 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3062, allocations: 31.42 kB / 466.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3063, allocations: 0 / 466.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.3327, allocations: 4.175 MB / 471.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.33, allocations: 15.17 kB / 471.1 MB, free: 1.641 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)