Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.005773/0.005773, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001212/0.001212, allocations: 198 kB / 16.68 MB, free: 5.957 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003409/0.003409, allocations: 0.5747 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 75.88 kB / 401.9 MB, free: 32.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08003/0.08122, allocations: 49.59 MB / 451.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001925/0.08319, allocations: 0.5822 MB / 452.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002365/0.08345, allocations: 47.8 kB / 452.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.08352, allocations: 0 / 452.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.0836, allocations: 3.938 kB / 452.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.08369, allocations: 7.938 kB / 452.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.08382, allocations: 11.97 kB / 452.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.08392, allocations: 47.84 kB / 452.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.084, allocations: 8.328 kB / 452.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.08404, allocations: 19.92 kB / 452.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.08414, allocations: 31.91 kB / 452.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.08417, allocations: 4 kB / 452.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.08419, allocations: 0 / 452.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.08422, allocations: 15.92 kB / 452.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.08427, allocations: 23.86 kB / 452.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.718e-05/0.08436, allocations: 35.81 kB / 452.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.08438, allocations: 4 kB / 452.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.08438, allocations: 0 / 452.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.08439, allocations: 0 / 452.4 MB, free: 14.28 MB / 334.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.0005799/0.08498, allocations: 375 kB / 452.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.08503, allocations: 15.97 kB / 452.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.08508, allocations: 38.69 kB / 452.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.08512, allocations: 8.844 kB / 452.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.08527, allocations: 168.4 kB / 453 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.0853, allocations: 8.375 kB / 453 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.08533, allocations: 12.28 kB / 453 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.08549, allocations: 66.23 kB / 453 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.0855, allocations: 7.938 kB / 453.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.08552, allocations: 0 / 453.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.08553, allocations: 0 / 453.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.08562, allocations: 39.92 kB / 453.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.08619, allocations: 312.8 kB / 453.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.08668, allocations: 126.6 kB / 453.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.08675, allocations: 41.06 kB / 453.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.08677, allocations: 3.938 kB / 453.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.0868, allocations: 34.56 kB / 453.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.08681, allocations: 0 / 453.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003425/0.09023, allocations: 0.924 MB / 454.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.09029, allocations: 55.41 kB / 454.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.09039, allocations: 113.8 kB / 454.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.09042, allocations: 33.7 kB / 454.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.09048, allocations: 84.38 kB / 454.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.09056, allocations: 67.08 kB / 454.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.09064, allocations: 33.72 kB / 454.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.09079, allocations: 318.8 kB / 455.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.09087, allocations: 43.98 kB / 455.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.898e-05/0.09097, allocations: 71.56 kB / 455.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.0936, allocations: 0.5704 MB / 455.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.09362, allocations: 0 / 455.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009528/0.09458, allocations: 274.1 kB / 456.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.09461, allocations: 4 kB / 456.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.09463, allocations: 4.297 kB / 456.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009307/0.09557, allocations: 164.7 kB / 456.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.09567, allocations: 19.94 kB / 456.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.09875, allocations: 1.975 MB / 458.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.09887, allocations: 8.031 kB / 458.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.09889, allocations: 8 kB / 458.3 MB, free: 7.848 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: p1 = 1e5. 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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001775/0.09908, allocations: 126.5 kB / 458.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.09912, allocations: 11.89 kB / 458.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.09917, allocations: 16.84 kB / 458.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.09917, allocations: 0 / 458.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.09919, allocations: 4 kB / 458.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0992, allocations: 0 / 458.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1006, allocations: 0.57 MB / 459.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1006, allocations: 0 / 459.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.1006, allocations: 20.02 kB / 459.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.1026, allocations: 280.4 kB / 459.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1027, allocations: 8 kB / 459.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/0.1052, allocations: 1.987 MB / 461.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1052, allocations: 0 / 461.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1063, allocations: 432.7 kB / 461.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1063, allocations: 85.02 kB / 461.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1063, allocations: 8 kB / 461.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1065, allocations: 0 / 461.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.1065, allocations: 23.95 kB / 461.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1065, allocations: 8 kB / 461.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.097e-05/0.1066, allocations: 91.25 kB / 462 MB, free: 3.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1066, allocations: 0 / 462 MB, free: 3.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.107, allocations: 32 kB / 462 MB, free: 3.918 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.001325/0.1083, allocations: 0.9519 MB / 463 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.1091, allocations: 320.1 kB / 463.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1091, allocations: 0 / 463.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.1097, allocations: 262.4 kB / 463.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.11, allocations: 11.94 kB / 463.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.1131, allocations: 1.953 MB / 465.5 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1134, allocations: 0.7123 MB / 466.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.975e-05/0.1135, allocations: 12.83 kB / 466.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.1135, allocations: 27.42 kB / 466.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1135, allocations: 0 / 466.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1376, allocations: 3.236 MB / 469.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.479/9.616, allocations: 12.75 kB / 469.5 MB, free: 12.48 MB / 350.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)